www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/07/12/09:04:16

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <396C6CBC.E79EA907@cygnus.com>
Date: Wed, 12 Jul 2000 15:03:56 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygapp <cygwin-apps AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
CC: cygapp <cygwin-apps AT sourceware DOT cygnus DOT com>
Subject: Re: sendto function
References: <007d01bfebfb$1aff7090$f7c723cb AT lifelesswks>

Robert Collins wrote:
> 
> Is the sendto function capable of sending icmp packets?
> 
> The following code fragment is not working properly...
> It runs on Un*x at the moment, and I'm hoping for some hint/direction for me
> to alter it, or alter cygwin to get it working.

This works on unix? I'm missing the icmp_sock definition
as well as the socket() call. fd 2 is used which is stderr
typically. Are you sure that you got your icmp_sock descriptor
by a socket() call? Or is that application called by inetd
with already opened descriptors?

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

- Raw text -


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