Re: [twsocket] ClientDisconnect problem
I am using the TWSocket component as client and server . Server is sending data regularly @ 3000 bytes/seconds . But client is disconnnect after some time ( 2 or ,3 or 4 minutes ) frequently . There is no ping break between them .why it is happening. Assuming you are using TCP... Maybe bad network or buggy security product or bug in your software or Do you have any error code or exception ? Do you know if the client disconnect from server or server disconnect client ? If you don't know, you may discover it using WireShark, a free network sniffer. Using it, you'll find which side is sending the close session packet. Try your software between two PC on the same subnetwork on the same LAN. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ClientDisconnect problem
Server some time shows the following exception not connected (#10057 in Send) On Sat, Feb 12, 2011 at 9:23 PM, Francois PIETTE francois.pie...@skynet.bewrote: I am using the TWSocket component as client and server . Server is sending data regularly @ 3000 bytes/seconds . But client is disconnnect after some time ( 2 or ,3 or 4 minutes ) frequently . There is no ping break between them .why it is happening. Assuming you are using TCP... Maybe bad network or buggy security product or bug in your software or Do you have any error code or exception ? Do you know if the client disconnect from server or server disconnect client ? If you don't know, you may discover it using WireShark, a free network sniffer. Using it, you'll find which side is sending the close session packet. Try your software between two PC on the same subnetwork on the same LAN. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ClientDisconnect problem
Server some time shows the following exception not connected (#10057 in Send) This happen when you try to send something after the client is disconnected. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ClientDisconnect problem
That is the real problem why socket connection is disconnect. automatically On Sun, Feb 13, 2011 at 12:48 AM, Francois PIETTE francois.pie...@skynet.be wrote: Server some time shows the following exception not connected (#10057 in Send) This happen when you try to send something after the client is disconnected. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ClientDisconnect problem
That is the real problem why socket connection is disconnect. automatically Please read again my first answer and answer all the questions I aksed and follow the advice I gave. By the way, is this problem related to the previous problem you asked questions for ? If yes, please answer the questions I asked then. If not, tell us how you solved it be like to have feedback ! -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be