RE: [reSIProcate] INADDR_ANY issues
If you want the stack to send on a particular interface you must bind
specifically to that interface rather than use the default IN_ADDR_ANY.
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf
> Of yuhuicai
> Sent: Monday, July 26, 2004 12:02 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] INADDR_ANY issues
>
>
> The Tuple class uses INADDR_ANY to bind to any interfaces, I
> found if a message received from the second or higher interface,
> the response will send to the first one.
>
> I checked some document and found:
> "When sending, a socket bound with INADDR_ANY binds to the
> default IP address, which is that of the lowest-numbered interface."
>
> Is someone has any thoughts about it?
>