RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTcpServer.WaitForConnection Method

Listens for TCP connections.

Pascal
function WaitForConnection: Boolean;
C++
__fastcall Boolean WaitForConnection();

Call WaitForConnection to listen for TCP connections on the port specified by the LocalPort property. The thread will block until a connection request is received. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!