![]() |
CSpoofSocket() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Constructor |
Declared in: SpoofSocket.h |
DeclarationCSpoofSocket( SOCKET sok);
DescriptionAttach to a socket by constructor
Initializer Override(s)
Function Body
//Check it's a valid socket
if (sok!=INVALID_SOCKET)
ReportError("CSpoofSocket","Received invalid socket!");
else
try
{
SetName(CSpoofSocket_LOGNAME);
//Initialize the data
InitializeIP();
//Save the handle
AssignSocket(sok);
}
ERROR_HANDLER("CSpoofSocket")
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |