Newsgroups: comp.os.msdos.djgpp From: Logan Bowers Subject: Re: DJGPP and WinSock? Content-Type: text/plain; charset=us-ascii Message-ID: <3341E928.414@juno.com> Sender: news AT linex6 DOT linex DOT com (news admin) Reply-To: LegoB AT juno DOT com Content-Transfer-Encoding: 7bit Organization: LineX Communications (415) 455-1650 References: <01bc3efd$bc1b8760$04b9a4c7 AT pc DOT quiotix DOT com> Mime-Version: 1.0 Date: Wed, 2 Apr 1997 05:05:44 GMT Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Brian Goetz wrote: > > I want to port some Unix code to the PC using DJGPP which requires a socket > library. I know that the WATTCP library is available, but is it possible > to call the WinSock libraries directly? Our PCs are already running the > TCP that comes with Windows95, and I don't want to run two TCP stacks on > the same machine. Where would I find the appropriate header files and > libraries to do this? > > Reply by e-mail (brian AT quiotix DOT com), please, and I'll summarize to the > group. I sorry to say that to my knowlege, the only way to access the windows stack, you will have to use Win32 API. There are some available (see the djgpp home page), but I haven't touched them due to their complexity and lack of documentation. Logan Bowers BTW: If you get the WATTCP library to work, let me know how you did it. I have tried without success.