On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:

> The following program binds *:1000 to a socket, and then tries to
> bind 200.47.36.254:1000 to another socket, the error i gets is
> "Address already in use". Why?

*:1000 includes 200.47.36.254:1000 by definition of bind(2). Binding
two sockets to one address (200.47.36.254:1000 in your case) cannot be
allowed because it is unclear which of the two sockets should recieve
packets destined to 200.47.36.254:1000. There may be other reasons.

Alex.



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

Reply via email to