RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Sockets.TServerSocketBlockMode Enumeration

Defines the set of possible socket flags for block mode.

Pascal
TServerSocketBlockMode = (
  bmBlocking,
  bmNonBlocking,
  bmThreadBlocking
);
C++
enum TServerSocketBlockMode {
  bmBlocking,
  bmNonBlocking,
  bmThreadBlocking
};

The following table lists the possible values for the TServerSocketBlockMode type and the meaning corresponding to each value:

Value 
Socket state 
bmBlocking  
The socket is set to block mode.  
bmNonBlocking  
The socket is set to non-blocking mode.  
bmThreadBlocking  
A separate thread is created so that listening can be performed in the background without blocking the entire server application.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!