www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/10/01:15:26

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: TCP/IP with DJGPP?
Date: Fri, 10 Apr 1998 03:44:21 GMT
Organization: [posted via] Easynet UK
Lines: 47
Message-ID: <352d7b22.10250149@news.easynet.co.uk>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980408185442 DOT 00799e80 AT pop DOT iquest DOT net>
NNTP-Posting-Host: foot.easynet.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 08 Apr 1998 18:54:42 +0500, Ricki Lee King <rlking AT iquest DOT net>
wrote:

>At 08:04 PM 4/8/98 GMT, kielhorn AT infomatch DOT com wrote:
>>Can DJGPP be used to write communications programs which use TCP/IP?
>>If so what is needed in the way of special libraries, headers, and etc.?
>>
>>
>you might look into LIBNET.
>
>someone have the info?

Libnet is intended mainly for game programming; at least, the programs
it produces are only meant to communicate with each other.  It does
use standard protocols for Internet communication (UDP and more
recently TCP), but it's not meant to talk to normal Internet programs
like FTP servers, web servers and so on.

If you only want your programs to talk to each other) then Libnet may
be what you're looking for.  The emphasis is on providing a simple
networking interface, which is the same for all supported network
types, so that your program doesn't really need to know what type of
network it is using.  At present the only support is for Internet
communication using Win95's Winsock in djgpp or Berkeley sockets on
Unix systems.  An IPX driver is being written, as are serial and
DOS-based internet drivers (dial-up via PPP and hopefully also network
cards).

If however you are writing an application that needs direct access to
TCP/IP, as the Subject: implies, Libnet probably won't help you.  You
could try either Dan Hedlund's WSOCK library or Indrek Mandre's
libsocket library; both provide access to Windows 95's Winsock from
djgpp.  There are packages that allow you to access the Internet
directly, without using the Winsock, but I have never tried any of
them.  Look at TCPlib perhaps.

Libnet can be downloaded from:

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

WSOCK, libsocket and TCPlib are all linked from:

    http://www.delorie.com/djgpp/dl/elsewhere.html

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