TWinsock2TCPServer

From Ultibo.org
Jump to: navigation, search

Return to Unit Winsock2


Description


To be documented

Class definitions



TWinsock2TCPServer = class(TWinsock2TCPSocket)

Note: Stream Server classes
 
public
constructor Create(AListener:TWinsock2TCPListener);  
private
FPeerPort:Word;  
FPeerAddress:String;  
 
FListener:TWinsock2TCPListener;  
protected
procedure SetHandle(AHandle:TSocket); virtual;  
procedure SetLastError(ALastError:LongInt); virtual;  
public
property PeerPort:Word read FPeerPort;  
property PeerAddress:String read FPeerAddress;  
property Listener:TWinsock2TCPListener read FListener;  
 
function Disconnect:Boolean; override;  


Function declarations



constructor TWinsock2TCPServer.Create(AListener:TWinsock2TCPListener);
Description: To be documented
Note None documented


procedure TWinsock2TCPServer.SetHandle(AHandle:TSocket);
Description: To be documented
Note None documented


procedure TWinsock2TCPServer.SetLastError(ALastError:LongInt);
Description: To be documented
Note None documented


function TWinsock2TCPServer.Disconnect:Boolean;
Description: To be documented
Note None documented


Return to Unit Reference