Unix domain accept() and getperrname() doesn't return the client address.

Noel Grandin noelgrandin@gmail.com
Fri Mar 8 14:23:00 GMT 2013


On 2013-03-08 15:29, Corinna Vinschen wrote:
> You can call connect on both sides. But ultimately you're right, I 
> guess. I never thought about it that way, and it seems nobody used 
> AF_LOCAL datagrams so far. Weird. The problem is that the underlying 
> protocol is AF_INET because Windows doesn't support AF_LOCAL.

If you're using UDP as your underlying protocol, UDP already contains a 
port you can reply to.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list