sockets and multiple interfaces

Hans Nilsson <>
Fri Nov 17 12:19:15 CET 2000


How do I bind a socket to a certain interface in Erlang?

(In C the function setsockopt(2) the option SO_BINDTODEVICE is used to
bind the socket to for example "eth0". I can't find this in the Erlang
source code.)

/Hans Nilsson






More information about the erlang-questions mailing list