Difference between revisions of "Midware TClientWSocket.Dup"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
− | ''' | + | '''procedure''' Dup: '''Dup(newHSocket:TSocket); virtual'''; |
== Description == | == 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. | 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. |
Revision as of 14:22, 5 May 2011
Main page -> Midware component reference -> TClientWSocket -> Dup
Definition
procedure Dup: 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.