www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/18/08:56:59

X-ROUTED: Wed, 18 Aug 1999 05:18:54 -0500
Message-ID: <37BA79CA.F6CCBD28@greenbelt.com>
Date: Wed, 18 Aug 1999 05:15:54 -0400
From: Ed James <edjames AT greenbelt DOT com>
Organization: GIAC
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Winsock 2 NTDVM socket programming
Reply-To: djgpp AT delorie DOT com

I'm using the NTDVM under NT4 and trying to code a socket server,
similar to a telnet server, using Winsock 2.  I've done this under
different UN*X flavours, and under Windows 3.1 (years ago).  However,
while I can get socket code to compile on the NTDVM (using djgpp, of
course), I can't actually get it to work.  After MANY months of
searching for sample code or some docs stating *if* it can actually, be
done, I'm still stumped.  Can anyone point me to sample *working* source
code, or a book (still in print and sold by real book dealers) that
shows how to do such a server?  In particular, I'm looking for
non-blocking connections, so a couple lines showing how to set the flags
would be appreciated.  Please don't flame this group with the usual "do
it in unix/linux/etc" - been there, done that.  My focus right now is,
does djgpp work with winsock 2 sockets using the NTDVM (NT Dos Virtual
Machine - the DOS emulator) on NT4?
TIA :)



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019