[reSIProcate] INADDR_ANY issues
Jason Fischl
jason at purplecomm.com
Mon Jul 26 15:18:26 CDT 2004
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 at list.sipfoundry.org
> [mailto:resiprocate-devel-bounces at list.sipfoundry.org]On Behalf
> Of yuhuicai
> Sent: Monday, July 26, 2004 12:02 PM
> To: resiprocate-devel at list.sipfoundry.org
> 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?
>
More information about the resiprocate-devel
mailing list