Mail Archives: djgpp/1999/08/18/08:56:59
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 -