Difference between revisions of "Midware TClientWSocket.Dup"

From Overbyte
Jump to navigation Jump to search
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
   '''property''' Dup: '''Dup(newHSocket:TSocket); virtual;''';
+
   '''procedure''' 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.

Latest revision as of 14:15, 14 May 2011

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.