From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: question Date: Thu, 11 Nov 1999 21:41:03 +0000 Organization: Customer of Planet Online Lines: 35 Message-ID: <382B37EF.C495BBC9@tudor21.net> References: <7va5qv$8u2$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: modem-42.flonase.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news8.svr.pol.co.uk 942449504 19606 62.136.67.170 (12 Nov 1999 23:31:44 GMT) NNTP-Posting-Date: 12 Nov 1999 23:31:44 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.10 i586) X-Accept-Language: de,fr X-NNTP-Posting-Host: iolanthe.tudor21.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Gecko23 wrote: > > I've got a C rogram called multiping that I managed to compile > > and run on Solaris 2.6. > > > > Does anyone have any ideas of how to compile and run this program on > > WIN32 systems ? I believe this program will use raw sockets. You can't do raw sockets with Winsock 1.x, but you can with Winsock 2. In practice this means that you need Windows '98 or NT. You can get a Winsock 2 upgrade for Windows '95. You may have to have administrator permissions to write raw sockets on NT, but I'm not too sure about that. > Well, you'll need a win32 compatible compiler, and possibly a > sockets library. You shouldn't need a socket library, since Windows has the Winsock API, which is similar to Unix's BSD sockets - I recommend reading the Winsock Programmers' FAQ to understand the differences & limitations. > There are essentially 4 choices for a (free)C/C++ compiler for win32: > MingW32, LCC-WIN32 (C only), Cygwin, RSXNTDJ. > (all are gcc ports except LCC, it is from a different group) Mingw32 and RSXNTDJ support Winsock. With Cygwin you can use BSD-style sockets and Winsock calls, although I believe it's easier to use BSD sockets. I think the port to Cygwin would be easiest. Hope that helps. -- Richard Dawe richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/