delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/28/15:00:56

Message-ID: <3687E0F1.75C03926@scifi-fantasy.com>
Date: Mon, 28 Dec 1998 14:50:10 -0500
From: Strider Centaur <strider AT scifi-fantasy DOT com>
Organization: Scifi-Fantasy
X-Mailer: Mozilla 4.05 [en]C-DIAL (Win95; U)
MIME-Version: 1.0
To: mert0407 AT sable DOT ox DOT ac DOT uk
CC: djgpp AT delorie DOT com
Subject: Re: using socket with DJGPP + sending at comands to modem
References: <E0zuhOI-00062w-00 DOT 1998-12-28-18-27-43 AT mail5 DOT svr DOT pol DOT co DOT uk>
Reply-To: djgpp AT delorie DOT com

    Is this as easy as just calling the sock routines or do you still have to
setup the Winsock Callback?   That's the part I would expect to be harder to
deal with.   I, for the most part, find windows to be a major pain to code
in.  But then again I am biased.  :-)

Ron Burton
( California here I come! )

George Foot wrote:

> On 28 Dec 98 at 11:20, Strider Centaur wrote:
>
> > Perhaps you could access WinSock by using RSXNTDJ.  If so with ALLOT of
> > work( at least compared to doing it in UNIX ) you should be able to
> > create, connect, listen, close, bla bla bla, sockets.   WinSock should
> > work for both 95 and 98, but not DOS.
>
> It's not so hard to do this.  I don't think it took me more
> than about fifteen minutes to get most of the Libnet code
> (written to use UNIX sockets) to work in Winsock.  Now all of
> it works; I had to download the header files from the ibldenv
> archive from Microsoft to get `select' to work, in particular.
> Everything else was fine IIRC.
>
> --
> george DOT foot AT merton DOT oxford DOT ac DOT uk



- Raw text -


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