binding to a specific interface

Sean Hinde <>
Mon Nov 25 10:28:37 CET 2002


There is indeed. It is <cringe>awaits howls of anguish from documentation
writers *and* purists</cringe> an undocumented feature but I was playing
with it the other day and it seems to work (well at least it allows the
listen).

The option is {ip, Address}

Sean

-----Original Message-----
From: Bruce Fitzsimons
To: 
Sent: 11/24/02 3:53 AM
Subject: UDP: binding to a specific interface

Guys'n'gals,

I've just been spelunking the api docs, but I can't see a way to only
listen
to one interface (aka IP address) on a multi-interface machine. Surely
there
must be a way?

/Bruce




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list