Name |
Description |
When a client socket opens a connection, the following events occur:
| |
Client and server sockets generate OnError events when they receive error messages from the connection. You can write an OnError event handler to respond to these error messages. The event handler is passed information about
| |
When writing applications that use sockets, you can write or read to the socket anywhere in the program. You can write to the socket using the SendBuf, SendStream, or Sendln methods in your program after the socket has been opened. You can read from the socket using the similarly-named methods ReceiveBuf and Receiveln. The OnSend and OnReceive events are triggered every time something is written or read from the socket. They can be used for filtering. Every time you read or write, a read or write event is triggered. Both client sockets and server sockets generate error... more | |
Server socket components form two types of connections: listening connections and connections to client applications. The server socket receives events during the formation of each of these connections. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|