Hello, I am using the example OverbyteIcsThrdSrvV3.dpr plus what happens is that the wind ClientDisconnect is called before processing the received data, and so the connection is lost and I can not communicate with the client, it returned me the error 10053 as log below:
TcpSrv (c) 2005-2010 by François Piette. V3.00 TWSocket (c) 1996-2012 Francois Piette V7.87 TWSocketServer (c) 1999-2011 F. Piette V7.04 Waiting for clients ... Client connected. Remote: 192.168.25.93/4634 Location: 192.168.25.66/5760ThrdID: $ 4,532 ThrdCnt: # 1 There is now 1 clients connected. Received from 192.168.25.93: 'ACTION = SOLIC_FLUXO & ID_TERMINAL = 528-533-378 & COD_EVENTO = 00001579 & TPEMISSAO = 0' Client disconnecting: 192.168.25.93 Duration: 00:00:21 Error: 10053 ThrdID: $ 4,532 ThrdCnt: # 1 There is now 0 clients connected. 2013/4/30 Angus Robertson - Magenta Systems Ltd <an...@magsys.co.uk> > > I could not use the component and WSocketServer WSocketThrdServer > > not know how to use the event "OnDataAvailable" examples that have > > The SocketServer demo is OverbyteIcsTcpSrv.dpr, ThreadServer is > OverbyteIcsThrdSrvV3.dpr. > > You can also try TMagIpLog from: > > http://www.magsys.co.uk/delphi/magics.asp > > which is a combined client and server component designed for simple > telnet protocols, there is an EXE can you run to listen on your port and > it will display anything that arrives. > > All these demos illustrate the event "OnDataAvailable" > > Angus > > -- > 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