Hello everybody,

I have a following situation. Customer has a multihomed computer (let's say
with three public IP addresses) and wants my ICS-based server to bind to
only _two_ of those addresses. Is there a way to do that in ICS? If not, is
this a limitation of ICS or WinSock?

The closest I have come to the answer by myself is to call
WSocket_getsockname(Client.HSocket, name, namelen) in OnClientConnect and
drop the connection if it comes in on a wrong interface. A better way would
be not to listen on wrong interface at all, of course.

(Yes, I know I can set up two servers and have each listen on one interface
only but that's not the way I would like to go - too many changes in an
already convoluted program.)

Best regards,
Primoz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to