Re: Socket-based porotocol module: how to re-use connection?

2003-07-14 Thread Stas Bekman
Jie Gao wrote: Hi All, I am playing with a socket-based protocol module based on Stas' MyApache::EchoSocket. I wonder what is needed to enable the function of re-using connections? As long as you don't quit the handler you keep the connection open. However I still have to investigate what are

Socket-based porotocol module: how to re-use connection?

2003-06-19 Thread Jie Gao
Hi All, I am playing with a socket-based protocol module based on Stas' MyApache::EchoSocket. I wonder what is needed to enable the function of re-using connections? In perl we can use this: $server = IO::Socket::INET-new(LocalHost = my.host.com, LocalPort =