cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/15/06:51:26

From: "Deathifier" <storey AT tig DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Need Winsock Help
Date: Thu, 15 Oct 1998 20:19:36 +1000
Organization: The Internet Group Ltd
Lines: 27
Message-ID: <704j1d$1hk$1@toto.tig.com.au>
References: <19981014163953 DOT 02609 DOT 00000493 AT ng108 DOT aol DOT com>
NNTP-Posting-Host: p2-nas4.syd.ihug.com.au
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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