* Chris Given <[EMAIL PROTECTED]> [020709 14:50] wrote:
> I can't figure out why this code won't bind to 127.0.0.1 on FreeBSD. I get
> an error "Can't assign requested address".

I don't think you want to htonl the return value from inet_addr, as it
should already be in network order.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to