On Mon, 15 Mar 2010, Charles Wilson wrote:

*********************
QUESTION #2.  Is there a cleaner way to do the address matching than the
version that I've modified below? I basically only changed the guts of
soaddr_eq_ip(); the rest is factory equipment...
*********************

You might find it simpler to just make all sockets/sockaddrs AF_INET6. The only time you might worry about the actual AF would be on display output. Ie. display IPv4-mapped addresses as IPv4.

Antonio Querubin
808-545-5282 x3003
e-mail/xmpp:  t...@lava.net

--
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

Reply via email to