From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: New DJGPP User - Install Questions Date: Mon, 06 Aug 2001 22:08:33 +0100 Lines: 24 Message-ID: <3B6F0751.EFD48245@phekda.freeserve.co.uk> References: NNTP-Posting-Host: modem-38.calcium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg4.svr.pol.co.uk 997132580 10671 62.136.19.38 (6 Aug 2001 21:16:20 GMT) NNTP-Posting-Date: 6 Aug 2001 21:16:20 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Peter Nolan wrote: > Q2. The application includes socket.h which is in the sys include > directory. socket.h includes winsock.h. However, there is no winsock.h > installed in my version of DJGPP. Where should winsock.h be? sys/socket.h is one of the header files for BSD sockets networking. BSD sockets are one of the standard programming interfaces for networking on Unix. DJGPP does not come with a BSD socket library. There are several libraries available for DJGPP that implement BSD sockets - see section 22.4 (I think) of the DJGPP FAQ for a list of such libraries. winsock.h is the header file for Winsock networking, which is mostly similar to BSD sockets networking. There are no libraries that provide the Winsock API to DJGPP programs, I'm afraid. Perhaps your program can be built using only the BSD sockets interface? Hope that helps, bye, -- Richard Dawe http://www.phekda.freeserve.co.uk/richdawe/