RAD Studio VCL Reference
|
Determines which asynchronous events the socket can receive.
property ASyncStyles: TAsyncStyles;
__property TAsyncStyles ASyncStyles;
Use ASyncStyles to determine what sorts of notifications the socket needs to respond to. Set ASyncStyles to change the notifications that the socket receives from the socket connection. ASyncStyles is a set drawn from the following values:
Value |
Meaning |
asRead |
The socket receives notification that the connection is ready for reading. |
asWrite |
The socket receives notification that the connection is ready for writing. |
asOOB |
The socket receives notification when out-of-band data arrives. |
asAccept |
The socket receives notification when another socket requests a connection. |
asConnect |
The socket receives notification when a communication link to another socket is opened. |
asClose |
The socket receives notification when a communication link to another socket is terminated. |
Any notification specified by ASyncStyles arrives as a window message to the Handle property.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|