Re: [twsocket] Still "rassling" with sending and receiving

2006-11-22 Thread Francois PIETTE
> BTW, what is the netiquette regarding mailing lists as to snipping > previous > parts of the thread--should I cut out everything below this, or leave it > be > (leaving it be until I hear/read otherwise). You should keep just enough for everybody to understand what you are talking about. --

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-22 Thread Clay Shannon
My bad! I fixed it by moving the line to process the msg outside of the "strip out the carriage return and line feed" loop: Was: procedure TfClientMain.ClientDataAvailable(Sender: TObject; Error: Word); var iMsgCode, iMsgTableID: Integer; begin with Sender as TTcpSrvClient do begin { Sinc

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-22 Thread Clay Shannon
<> And to add to the mystery, or provide a clue, in the first instance the string message sent has a #$D appended, but in the second case it doesn't... The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged mat

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-22 Thread Clay Shannon
10:28 AM To: 'ICS support mailing' Subject: Re: [twsocket] Still "rassling" with sending and receiving Right now, though, it's working TOO good My ClientDataAvailable() procedure (assigned to my TWSocketServer's OnDataAvailable() event as shown below) is firing twic

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-22 Thread Clay Shannon
upport mailing Subject: Re: [twsocket] Still "rassling" with sending and receiving Hello Clay, > OK, by going over the clidemo and TCPServ projects (which successfully > communicate with each other) with a fine-toothed comb, and setting all my > design-time and run-time properties, et

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-21 Thread Clay Shannon
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clay Shannon Sent: Tuesday, November 21, 2006 9:55 AM To: 'ICS support mailing' Subject: [twsocket] Still "rassling" with sending and receiving When I send a string from my test utility, the ClientConnect() even

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-21 Thread Wilfried Mestdagh
Hello Clay, > OK, by going over the clidemo and TCPServ projects (which successfully > communicate with each other) with a fine-toothed comb, and setting all my > design-time and run-time properties, etc., as in those demos, I was able to > get it to work. Good :) --- Rgds, Wilfried [TeamICS]

[twsocket] Still "rassling" with sending and receiving

2006-11-21 Thread Clay Shannon
When I send a string from my test utility, the ClientConnect() event(*) fires in my app, which is listening for messages, but the ClientDataAvailable() event(**) is not fired. And when I send the message a second time from the test utility, I get "Connect: socket already in use". Also, the

Re: [twsocket] Still "rassling" with sending and receiving

2006-11-21 Thread Wilfried Mestdagh
Hello Clay, Seems you mix up 2 different things: > When I send a string from my test utility, the ClientConnect() event(*) > fires in my app, which is listening for messages, but the > ClientDataAvailable() event(**) is not fired. You cannot send data if there is no connection. The OnClientConne