Class CSpoofSocket::
AssignSocket()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: m_TTLNext page: Bind    Show member index
Protected Function Declared in:
SpoofSocket.h

'Declaration' icon -- Shortcut to top of page. Declaration

void AssignSocket(
    SOCKET sok,
    unsigned char ucProtocol=IPPROTO_TCP);

'Description' icon -- Shortcut to top of page. Description

Attach to a socket

'Function Body' icon -- Shortcut to top of page. Function Body

try
{
    //Sets the protocol
    m_Protocol=ucProtocol;

    //Binds to a socket
    m_SpoofSocket=sok;

    //Set non raw
    SetRaw(FALSE);
}
ERROR_HANDLER("AssignSocket")

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CSpoofBase  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!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: 24 Apr 2001.