Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Using TServersocket in a dll

www.cryer.info
Managed Newsgroup Archive

Re: Using TServersocket in a dll

Subject:Re: Using TServersocket in a dll
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 10 Sep 2007 11:32:33

"Gaetan Siry" <info@info-no-spam.com> wrote in message
news:46e576b6@newsgroups.borland.com...

> Is it possible eto use the TserverSocket component in a dll ?

Yes.

> I am having problemsreading incoming data (ClientReadEvent
> is not fired) when used in a dll.

You are probably using it in non-blocking mode (its default).  That requires
an active message queue to be running in the thread that runs the server.
If you do not have a queue, then you must use the server in thread-blocking
mode instead.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive