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: List-Archive: List-Post: List-Help: , 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 Reply-To: cygapp 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 CC: cygapp Subject: Re: sendto function References: <007d01bfebfb$1aff7090$f7c723cb AT lifelesswks> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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