www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/24/18:15:09

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Winsock in DOS
Date: Thu, 24 May 2001 22:36:07 +0100
Lines: 27
Message-ID: <3B0D7EC7.366BE6C8@phekda.freeserve.co.uk>
References: <000801c0e48c$d29e06a0$0f0301c0 AT schampion>
NNTP-Posting-Host: modem-171.titanium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg4.svr.pol.co.uk 990741415 26405 62.136.21.171 (24 May 2001 21:56:55 GMT)
NNTP-Posting-Date: 24 May 2001 21:56:55 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Steve Champion wrote:
> I am trying to get a client program in dos to talk to a VB server
> program over a network.  I already have the client connected to the
> network.  I need to connect to the server program and exchange data.
> Example: Connect to the program at IP 192.1.1.50 listening on port
> 2000.  The client (actually a handheld pc) has only dos.  I have been
> working going crazy trying to figure this out.  Any help greatly
> appreciated (even to say it can't be done.)

"Winsock" is actually the Windows adaptation of the BSD sockets API.
Fortunately there are libraries for DJGPP that provide the BSD sockets API
and will allow you to connect to your server. One such library is Watt-32:

    http://www.bgnett.no/~giva/

Also take a look at the DJGPP FAQ, section 22.4. The libsocket link page
also has a lot of links:

    http://www.phekda.freeserve.co.uk/richdawe/lsck/lsck_lnk.htm

HTH, bye,

-- 
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/

- Raw text -


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