Re: finding out what NIC a socket connection came in on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lee Chin wrote:

>Hi,
>I have a box with 2 NICs.  I have a server that does a socket accept.  I would like to know which NIC a new socket connection originated from.  How can I do this?
>
>Thanks
>Lee
>
man 2 accept

-- 
Casey Carter
Casey@Carter.net
ccarter@uiuc.edu
AIM: cartec69



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux