Re: One socket - multiple ifaces



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.
.



Relevant Pages

  • Re: How to wait for multiple threads simultaneously?
    ... I'd like to ask whether Linux provides an effective way to wait for ... multiple thread's end. ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.apps)
  • Re: running program remotely on different user
    ... from test in gui mode if i run ... want to run the command for user 'test' so that he can ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, ...
    (comp.os.linux.development.apps)
  • Re: IsBadReadPtr for Linux?
    ... without using a temporary file (which arguably shouldn't be necessary ... I ended up calling msync on the appropriately page ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.apps)
  • Re: close fd while select/poll/epoll
    ... failed to explain your case well enough to overcome the obvious opposite, ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.system)