Mail Archives: djgpp/1998/10/15/06:51:26
Hi,
Compwiz826 wrote in message <19981014163953 DOT 02609 DOT 00000493 AT ng108 DOT aol DOT com>...
>I'm ok at djgpp, but I can't find one Winsock lib/example program that will
>compile under DOS, without a huge amount of effort. If someone could help
with
>an address or somethingI would be eternally grateful
Of course you can't, cause Winsock is built into windows, however you can
acess the Wsock.vxd and a couple of programs have been written to use it,
check Eli Zaretskii's message for the FAQ section, libsocket appears the
easiest to use IMHO. The only problem is Winsock 2 is different, and at the
moment none of them work with Winsock 2 :-)
You may also consider getting, setting up, and using RSXNTDJ to make Win32
apps, that way you can call winsock directly, however I have seen a few
problems with RSXNTDJ working with WinAllegro, but it's in the process of
being fixed I believe. There is a tutorial on the Game Programmers megasite
on how to write the WinSock routines, it's hard to get ahold of for a
beginner, but it does work, and I've got a real real basic chat client
written (You just can't chat, and it hasn't been tested....).
I reckon it's better to go to Win32 apps, they will work on Win95, Win98,
WinNT 4 I think, and Win3.11 or whatever with Win32s and WinG I believe.
Cya,
David Storey - Deathifier
- Raw text -