Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linuxソケットでプログラミングする場合、標準ライブラリsocket()、connect()、send()などを呼び出しますが、同じLANに2つのネットワークアダプターが接続されている場合は、手動で1つを選択できますか、それとも管理者によって構成された、変更できないルートテーブルまたは他の何か?
各インターフェイスには固有の IP アドレスがあるため、bind()でインターフェイスを指定できます。