Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : Simple general question

www.cryer.info
Managed Newsgroup Archive

Simple general question

Subject:Simple general question
Posted by:"xtcsuk" (xtcsuk..@yahoo.co.uk)
Date:Thu, 12 May 2005 10:59:09

In a scenario where:
TIdTCPServer (Component)

if Readln() = 'Test' then
  PostMessage(Handle, Msg, 0, 0);
{code}

would this be ok or should it be called in Thread.Synchronize().  The
PostMessage() calls another routine which only displays a message.
If called in Thread.Synchronize(), would it not halt the communication
between Client and Server Sockets.

regards


--
please remove _1 from email address.

Replies:

www.cryer.info
Managed Newsgroup Archive