Difference between revisions of "Midware TClientWSocket.Dup"

From Overbyte
Jump to navigation Jump to search
 
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
   '''property''' Dup: '''Dup(newHSocket:TSocket); virtual;''';
+
   '''property''' 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 08:15, 5 May 2011

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

Definition

 property 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.