Re: One socket - multiple ifaces
- From: Dildo Bogumil di Boscopelo <psycho_78@xxxxxxxxx>
- Date: Tue, 29 Jan 2008 12:38:39 +0100
pitrew wrote:
Hi, is it possible to listen on multiple ifaces using only one
socket ? (this should be listening in multicast group).
AFAIK, you can listen on every iface if you use INADDR_ANY when you setup the struct sockaddr_in's sin_addr field (assuming you are programming in C/C++), but it's not possible to choose a subset of your ifaces.
--
SF
Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. Niente prigionieri, nessuna pietà. Inizio memorabile.
.
- References:
- One socket - multiple ifaces
- From: pitrew
- One socket - multiple ifaces
- Prev by Date: One socket - multiple ifaces
- Next by Date: Re: hotplugging eSATA
- Previous by thread: One socket - multiple ifaces
- Index(es):
Relevant Pages
|