System.Win.ScktComp.TAsyncStyle
Delphi
TAsyncStyle = (asRead, asWrite, asOOB, asAccept, asConnect, asClose);
C++
enum DECLSPEC_DENUM TAsyncStyle : unsigned char { asRead, asWrite, asOOB, asAccept, asConnect, asClose };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | System.Win.ScktComp |
Description
Determines which asynchronous events the socket can receive.
TAsyncStyle holds information about the kinds of notifications the socket needs to respond to. The socket receives the corresponding notification in the following situations:
Value | Meaning |
---|---|
asRead |
The connection is ready for reading. |
asWrite |
The connection is ready for writing. |
asOOB |
Out-of-band data is arriving. |
asAccept |
Another socket requests a connection. |
asConnect |
A communication link to another socket is opened. |
asClose |
A communication link to another socket is terminated. |