NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Socket Constructor (Int32)

Called by the class to create a socket to accept an incoming request.

[Visual Basic]
Overloads Protected Sub New( _
   ByVal fd As Integer _
)
[C#]
protected Socket(
   int fd
);
[C++]
protected: Socket(
   int fd
);
[JScript]
protected function Socket(
   fd : int
);

Parameters

fd
Handle to a socket.

Remarks

This constructor is used by the class to create a copy of the socket to handle an incoming connection request when Accept is called. The socket returned is a copy of the socket referenced by fd.

See Also

Socket Class | Socket Members | System.Net.Sockets Namespace | Socket Constructor Overload List