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 OnClientConnect will
fire when your test client etablishes a connection. Before that you
cannot send data and you must have an exception in your test client. So
there is already something wrong.

> And when I send the message a second time from the test utility, I get
> "Connect: socket already in use".

You cannot have this error if you try to send data. This error you only
can have if you try to connect a socket that is for example already
connected.

> Also, the sending utility freezes up after sending the message.

So let's start debug the sending application. That is your test client I
assume.

>     ShowMessage('There is now ' +

You are looking for trouble !  Never call the message pump from within
events. For debugging purposes, use WriteLn, or log to some Memo or
something.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to