Re: Invalid argument error when using recvfrom

2005-10-27 Thread Corinna Vinschen
On Oct 26 13:57, Fernando Barsoba wrote: > Hi all, > > Using raw sockets with cygwin is being really painful... After being > able to create an IP datagram using the latest snapshot now I'm getting > the error "Invalid argument" when calling recvfrom() without doing BIND > first. > > There is

Invalid argument error when using recvfrom

2005-10-26 Thread Fernando Barsoba
Hi all, Using raw sockets with cygwin is being really painful... After being able to create an IP datagram using the latest snapshot now I'm getting the error "Invalid argument" when calling recvfrom() without doing BIND first. There is no need to call bind() before recvfrom when using raw s