Class TClientSocket (unit Unit3)

Inherits from

TAsyncSocket

TClientSocket - the socket that will be attached to an accept request.

Constructors



Functions

procedure OnClose(SocketMessage: TWMSocket);


procedure OnError(SocketMessage: TWMSocket);


procedure OnRead(SocketMessage: TWMSocket);


procedure SendString(fString: String);

ErrToStr converts a socket error into its descriptive string.

Properties

Events

Variables

m_ListItem : TListItem;



Constructors


Functions


procedure OnClose(SocketMessage: TWMSocket);


procedure OnError(SocketMessage: TWMSocket);


procedure OnRead(SocketMessage: TWMSocket);


procedure SendString(fString: String);

ErrToStr converts a socket error into its descriptive string. Note that the TWMSocket has a collection of useful data items within it. They are only assured to be assigned within their respective functions. TWMSocket.SocketNumber is filled in all instances. TWMSocketNumber will be -1 if the socket has not yet been allocated or has failed. In most instances, it will return the socket's number.


Properties


Events


Variables


m_ListItem : TListItem;