delorie.com/archives/browse.cgi | search |
From: | Edward Hill <edward_hill AT www DOT anything DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | rsxntdj + winsock |
Date: | Thu, 18 Mar 1999 16:03:38 -0800 |
Organization: | Easams Engineering Systems |
Lines: | 22 |
Message-ID: | <36F1945A.2697@gec.nospam.com> |
NNTP-Posting-Host: | pc02372.gmsws.gecm.com |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 3.01C-GECMMTL (Win95; I; 16bit) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I got rsxntdj working and now I'd like to try and write a program that uses winsock. I was delighted to see a winsock.h in the include directory I tried a makelib c:\windows\winsock.dll -o winsock.a but it told me that it was 16 bit and wouldn't do it. So I tried a makelib c:\windows\system\wsock32.dll -o wsock.a this worked and I got a .a file. I just can't seem to get any sample winsock files working. I am using -lwsock32 an -Zwin32. I was wondering if anybody out there has a sample winsock peice of code they could post that works for them (small would be nice) so I can make sure it's not something I'm doing wrong. regards, Ed Hill
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |