Re: [twsocket] TWSocketServer: how to make it listening to

2010-11-26 Thread Francois PIETTE
Since the Addr property is a string, the component could easily handle any special format in that field to support multiple listening IP:Port (Interface to listen to and port to use on that interface). I think something like "/192.168.1.1:80/0.0.0.0:81/". IPv4 or IPv6 could be used. The component

Re: [twsocket] TWSocketServer: how to make it listening to

2010-11-26 Thread Piotr Dałek
Hello! > Hello all, > Since the Addr property is a string, the component could easily handle any > special format in that field to support multiple listening IP:Port > (Interface to listen to and port to use on that interface). I think > something like "/192.168.1.1:80/0.0.0.0:81/". IPv4 or IPv

Re: [twsocket] TWSocketServer: how to make it listening toseveralIP:Port ?

2010-11-26 Thread Francois PIETTE
This design would not break any existing code and would ease using the new multiple listen easy to implement in higher level components. It won't break existing code, but remains a hack IMO. I don't agree with you. Please explain. All event assignments and unassignments have to be kept in s

Re: [twsocket] TWSocketServer: how to make it listening to severalIP:Port ?

2010-11-26 Thread Arno Garrels
Francois PIETTE wrote: > This design would not break any existing code and would ease using > the new multiple listen easy to implement in higher level components. It won't break existing code, but remains a hack IMO. All event assignments and unassignments have to be kept in sync. Also I would n

Re: [twsocket] TWSocketServer: how to make it listening to several IP:Port ?

2010-11-26 Thread Angus Robertson - Magenta Systems Ltd
> Otherwise forcing IIS to allocate even only one IP is impossible. It is quite possible, my public server uses IIS/7 and an ICS web application on different IPs. There are NETSH HTTP IPLISTEN commands that force IIS to listen only on specific IPs, or just change some registry settings. My app

Re: [twsocket] TWSocketServer: how to make it listening to several IP:Port ?

2010-11-26 Thread Fastream Technologies
On Fri, Nov 26, 2010 at 4:28 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > I do not see any need for multiple listening except 0.0.0.0 and ::0 > > as I have seen none of the servers doing it. > > No commercial server listens on 0.0.0.0 since commercial servers all have

Re: [twsocket] TWSocketServer: how to make it listening to several IP:Port ?

2010-11-26 Thread Angus Robertson - Magenta Systems Ltd
> I do not see any need for multiple listening except 0.0.0.0 and ::0 > as I have seen none of the servers doing it. No commercial server listens on 0.0.0.0 since commercial servers all have multiple IP addresses with multiple users and multiple applications, with the exception of IIS that hogs al

Re: [twsocket] TWSocketServer: how to make it listening to several IP:Port ?

2010-11-26 Thread Fastream Technologies
Hello Francois, Of course it will be a cool design but I do not see any need for multiple listening except 0.0.0.0 and ::0 as I have seen none of the servers doing it. Regards, SZ On Fri, Nov 26, 2010 at 11:12 AM, Francois PIETTE wrote: > Hello all, > > Since the Addr property is a string, th

[twsocket] TWSocketServer: how to make it listening to several IP:Port ?

2010-11-26 Thread Francois PIETTE
Hello all, Since the Addr property is a string, the component could easily handle any special format in that field to support multiple listening IP:Port (Interface to listen to and port to use on that interface). I think something like "/192.168.1.1:80/0.0.0.0:81/". IPv4 or IPv6 could be used.