Hi Anton, Somewhere in your application a pointer is probably overwritten by something else. Not easy to fins especially if it happens only once a while. It can due to several reasons: - Filling a record with a size bigger than it is - Usage of allocated memory for something that where it is not allocated for - Freeing something that has mixed up for example due to a unhandled exception
-- mvg, Wilfried http://www.mestdagh.biz -----Oorspronkelijk bericht----- Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] Namens Anton Sviridov Verzonden: vrijdag 16 april 2010 9:43 Aan: twsocket@elists.org Onderwerp: [twsocket] Error "Socket operation on non-socket" >From time to time in my program I encounter strange error on connecting. Here's a piece of socket log: 2010-04-16 10:55:50 SocketChangeState, wsClosed -> wsOpened 2010-04-16 10:55:50 TWSocket will connect to 200.255.94.90:2101 2010-04-16 10:55:50 SocketChangeState, wsOpened -> wsConnecting 2010-04-16 10:55:50 SocketChangeState, wsConnecting -> wsConnected 2010-04-16 10:55:50 SocketSessionConnected, Socket operation on non-socket (#10038) 2010-04-16 10:55:50 00D41210 TCustomWSocket.Shutdown 1 1472 Any ideas why it could happen? -- Anton -- 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