cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/28/15:31:46

Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk>
To: Strider Centaur <strider AT scifi-fantasy DOT com>
Date: Mon, 28 Dec 1998 20:31:15 +0000
MIME-Version: 1.0
Subject: Re: using socket with DJGPP + sending at comands to modem
CC: djgpp AT delorie DOT com
X-mailer: Pegasus Mail for Win32 (v2.42a)
Message-Id: <E0zujKF-0001Uo-00.1998-12-28-20-31-39@mail5.svr.pol.co.uk>
Reply-To: djgpp AT delorie DOT com

On 28 Dec 98 at 14:50, Strider Centaur wrote:

>     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.  :-)

For the most part you can just use the functions like Berkeley 
socket functions.  You must initialise the Winsock first, and 
shut it down afterwards.  A few data types change (you should 
use `SOCKET', not `int', for the socket handles) and some 
functions are renamed.  You can't treat sockets as files.  
However, it's not too difficult to live with these limitations. 
The latest prerelease of Libnet contains a Winsock driver for 
djgpp+RSXNTDJ; you can look at this to see what sort of things 
you need to do to make it work.

    http://www.canvaslink.com/gfoot/libnet/

There you will find a .tar.gz and a .zip.  The content is 
identical.

-- 
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