Re: [twsocket] Reasonable timeout

2005-04-25 Thread Francois Piette
As I said before, it is not clear. MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/setsockopt_2.asp) says those BSD options are not available but a few lines later they say it is available in the Microsoft implementation of Windows Sockets 2. My

Re: [twsocket] Any alternatives to multithreading?

2005-04-25 Thread Francois Piette
Is there *any* way to slow down ICS, so message queue overflow won't occur so often? Unless you use UDP or wsoSIO_RCVALL option, there is no reason to have a message queue overflow. Using TCP, if you don't read data as fast as the sender is able to send, the protocol is designed so that

Re: [twsocket] Any alternatives to multithreading?

2005-04-25 Thread Arno Garrels
Piotr Hellrayzer Da³ek wrote: Hi! Okay, this is discussed few times a year, and probably FAQ got something about, but.. The problem is simple. I didn't realized that when user has slow CPU and fast LAN[1], my HCM can't handle that well - looks like hung, and downloads slower than it's

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Guillaume MAISON
I have HTTP server application. User has possibility to change listening port. Is it possible to redirect a browser to another port ? if the browser is recent enough, when connecting, you should have in the request a header named Host: followed by the hostname (or ip address) the browser

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Francois Piette
You use a HTML relocation. Why not using a HTTP relocation ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, April 25, 2005 1:56 PM Subject: [twsocket] Redirect a browser

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Guillaume MAISON
You use a HTML relocation. Why not using a HTTP relocation ? HTTP relocation is immediate while HTML relocation permits to use a timer on client side before reconnecting to the http server, with a url provided... timer to wait for the http server to be restarted on its new port. best regards,