Hi, > Sorry again, Francois told me and I missed it. > https://www.quicksilvermail.net/socketspyc.zip
Glad it is solved :) -- mvg, Wilfried http://www.mestdagh.biz http://www.comfortsoftware.be http://www.expertsoftware.be > -----Oorspronkelijk bericht----- > Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] > Namens Richard Christman > Verzonden: zaterdag 22 januari 2011 9:45 > Aan: twsocket@elists.org > Onderwerp: [twsocket] SocketSpy to C++ Problem > > Hi All, > > Sorry again, Francois told me and I missed it. > > https://www.quicksilvermail.net/socketspyc.zip > > I have done a cbuilder translation of Mr. Mestdagh's SpocketSpy > program. > But, I have a problem. When I run the program and try to connect with a > server, I get this immediate error: > > "An unknown response was received in response to a request for > information > from the news server 'SocketSpyC++ Local TCP Proxy'" > > Under the details button of the error dialog, I get: > > SocketSpyC++ Local TCP Proxy > > Configuration: > Account: SocketSpyC++ Local TCP Proxy > Server: 127.0.0.1 > Protocol: NNTP > Port: 119 > Secure(SSL): 0 > Code: 800ccca0 > > I don't have any idea what the problem is. First, while trying to > debug, I > put a popup messagebox at the end of the WSocketServerClientConnect > procedure to take a look at a variable. What I discovered was that > messagebox being open allowed the program to actually connect and go > further > before error. After that, I replaced the messagebox with an > Application->ProcessMessages() loop as a test. I was amazed that after > that, > the program ran completely and reliably--everytime. It works just > great, but > I haven't tried more than 1 connection because of the ProcessMessages > loop. > Though the loop has been helpful, I doubt it is the appropriate fix for > this. > > My socketspyc project is attached. Please have a look. The > ProcessMessages > loop is at the end of the WSocketServerClientConnect procedure. > > Regards, > > Richard Christman > https://www.quicksilvermail.net > > -- > 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