[Gllug] re: listening on more than 1 IP address

Pete Ryland pdr at pdr.cx
Fri Sep 26 09:31:00 UTC 2003


On Fri, Sep 26, 2003 at 10:55:55AM +0100, t.clarke wrote:
> Thanks guys for the various replies and example code
> 
> I was rather hoping that there would be a way of avoiding binding to two
> sockets and using select/poll to pick the one to read from !
> I have done this before in some other program and it works, so I guess I
> could re-use the code - I was just wondering if there was an easier way I
> was somehow missing.

How about listening for any IP and rejecting those that don't match?

Pete

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list