| Class TServerSocket (unit Socks) |
TObject
| Constructors |
constructor Create(PORT: string);| Functions |
function AcceptConnection: TClientSocket;
destructor Destroy;
procedure Disconnect;
procedure Listen;
procedure WaitForConnection;| Properties |
property FPeerIP : string
property FPeerName : string| Events |
| Variables |
sock : tSocket;
peerip : string;
peername : string;
portn : Word;| Constructors |
constructor Create(PORT: string);----------------------------- Server Socket implementation ---------------
| Functions |
function AcceptConnection: TClientSocket;
destructor Destroy;
procedure Disconnect;
procedure Listen;
procedure WaitForConnection;| Properties |
property FPeerIP : string
property FPeerName : string| Events |
| Variables |
sock : tSocket;
peerip : string;
peername : string;
portn : Word;