Hello all,
I am looking for a way in PHP to bind a socket to a device name in Linux (ie. "eth0" or "eth1") . Basically I want the equivalent of the SO_BINDTODEVICE functionality that exists in C for setsockopt function, but after googling for a while I haven't been able to find a suitable answer or equivalent to set_sock_option.
Thanks in advance.
PHP socket programming question.
Moderator: General Moderators