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

The option is {ip, Address}


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


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


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