Re: [twsocket] Delay in Socket Communication

2011-02-10 Thread Francois PIETTE
I am using ICS ver5 for communication as server and client (TWSocket), But there is delay in data send by the server to the client . I am sending the data frequently about 1000 bytes at a time . but I am not getting at client site at that time but there is delay of 2 - 5 seconds on

Re: [twsocket] Delay in Socket Communication

2011-02-10 Thread rajesh gupta
Hi, I am using TCP My Network Bandwidth is 2 MegaBITS per second (Mbps) it is Ethernet On Thu, Feb 10, 2011 at 1:39 PM, Francois PIETTE francois.pie...@skynet.bewrote: I am using ICS ver5 for communication as server and client (TWSocket), But there is delay in data send by the

Re: [twsocket] Delay in Socket Communication

2011-02-10 Thread Angus Robertson - Magenta Systems Ltd
I am using Antivirus on the server .can this effect and delay . You will find out once you add ping to provide some evidential diagnostics of the problem. Anti-virus software should only be looking at changed files, not TCP streams. But that term is now used to cover a lot more, such as

Re: [twsocket] Delay in Socket Communication

2011-02-10 Thread Francois PIETTE
I am using TCP My Network Bandwidth is 2 MegaBITS per second (Mbps) it is Ethernet Well, it is not Ethernet. Maybe your computer is connected via Ethernet, but at 2 Mbps, it is surely not ethernet. Ethernet exists in 3 flavors: Ethernet (10 Mbps), fastEthernet (100 Mbps) and Gigabit

[twsocket] Proxy traversal error handling

2011-02-10 Thread Arno Garrels
Hi, Some proxies just close or reset the connection if, for instance, the remote server is not listening or if Socks authentication fails for some _technical reason. It's my understanding that in such cases SessionConnected should be triggered with an error 0 before SessionClose, is that

Re: [twsocket] Proxy traversal error handling

2011-02-10 Thread Francois PIETTE
Some proxies just close or reset the connection if, for instance, the remote server is not listening or if Socks authentication fails for some _technical reason. It's my understanding that in such cases SessionConnected should be triggered with an error 0 before SessionClose, is that correct?

[twsocket] disconnect problem with tcp socket

2011-02-10 Thread Simon
Hello, am building a chat system and when a user is disconnected from there host there id is stuck within the socket so am wondering is there anyway of removing dead IDs once connection is lost to server? thanks -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] disconnect problem with tcp socket

2011-02-10 Thread Francois PIETTE
am building a chat system and when a user is disconnected from there host there id is stuck within the socket so am wondering is there anyway of removing dead IDs once connection is lost to server? In my opinion, the best way to handle this is to implement at the application layer a kind of

Re: [twsocket] Proxy traversal error handling

2011-02-10 Thread Arno Garrels
Francois PIETTE wrote: Some proxies just close or reset the connection if, for instance, the remote server is not listening or if Socks authentication fails for some _technical reason. It's my understanding that in such cases SessionConnected should be triggered with an error 0 before

Re: [twsocket] Proxy traversal error handling

2011-02-10 Thread Francois PIETTE
I think the proxy implementation should be as transparent as possible. Of course with a proxy in the middle, we have two levels of errors and we have only one to return to the application. Without having thinked about it too much, I would say that OnSessionConnected and OnSessionClosed should

Re: [twsocket] Proxy traversal error handling

2011-02-10 Thread Fastream Technologies
Here is an idea: Since winsock errors are 10xxx, why don't we add 1 to the error code if it is coming from proxy? For example when proxy returns 10053, we return 20053. Regards, SubZero On Thu, Feb 10, 2011 at 7:01 PM, Francois PIETTE francois.pie...@skynet.bewrote: I think the proxy

[twsocket] HTTPServer sending 303

2011-02-10 Thread Edwin @ Clan Hay
I am having trouble getting ICS sending out a 303 redirection. I copied the 404 answer code which works, but this code makes the client just spin its wheels. Nothing is requested from the client after this point. Tried with a 302 and get the same results. This comes at the end of the