Midware TClientWSocket.Dup

From Overbyte
Jump to navigation Jump to search

Main page -> Midware component reference -> TClientWSocket -> Dup

Definition

 procedure Dup(newHSocket:TSocket); virtual;

Description

Dup associate a winsock handle to a TClientWSocket component. Calling Dup is the same as assigning HSocket property. It is used by TAppServer when his litening socket has received a connection from a client and returned a handle to the underlaying winsock DLL.