delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/30/14:45:12

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ping function
Date: Fri, 30 Jun 2000 19:06:06 +0100
Organization: Customer of Planet Online
Lines: 24
Message-ID: <395CE18E.38872095@phekda.freeserve.co.uk>
References: <8jii1n$fc2$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: modem-184.titanium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news8.svr.pol.co.uk 962389848 27689 62.136.21.184 (30 Jun 2000 18:30:48 GMT)
NNTP-Posting-Date: 30 Jun 2000 18:30:48 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 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.

kknd_bl AT my-deja DOT com wrote:
> How do I write a function that imitates the DOS Ping program

You need to take a look at Watt-32, which uses packet drivers for its
networking:

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

[ For everyone's information: This is not possible with other networking
libraries such as libsocket, which use Winsock's virtual device drivers to
provide networking under Windows, because Winsock does not provide this
service through WSOCK.VXD. ]

> and where you can determine the TCP port??

The TCP port of what?

Hope this helps, bye,

-- 
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]

- Raw text -


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