Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : TClientSocket ctBlocking - SENDING ME CRAZY

www.cryer.info
Managed Newsgroup Archive

TClientSocket ctBlocking - SENDING ME CRAZY

Subject:TClientSocket ctBlocking - SENDING ME CRAZY
Posted by:"DC" (e..@egg.ns.com)
Date:Thu, 5 Apr 2007 10:53:04

Guys & Girls - I am going crazy here.

I have a RemObjects service application. (RO)

RO communicates with an external app via a TCP connection. When the
external app recieves a message it opens a GUI and then responds to the
messages over the same connection. So I use a TClientSocket in ctBlocking
mode.

As usual, I wrote a Project1 test app to get the basics correct before
moving the code into my service.
All is well in Project one, but in the service it does not work.

If I make a requst to the service it just hanges.  However, if I then stop
the service, I see that the external app is launched as it should have been.

What the hell am I missing.  This is sending me crazy.

I have tried all different kinds of ways of doing it, using threads etc but
with no joy.

Surely I am not the only person to ever to use TClientSocket in a service.

Please please please help.

Best regards

DC

Replies:

www.cryer.info
Managed Newsgroup Archive