delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |