telnetd/FkUG.cpp
// ProcessThreadProc - Thread processes FkScrape requests
//
// Parameters:
//   lpdwParam - ???
//
// Return value:
//   none
//
// Comments:
//   ProcessThreadProc is spawned when a connection request is received.


Return value:
none

ProcessThreadProc is spawned when a connection request is received.
Return value : none ProcessThreadProc is spawned when a connection request is received .
DWORD ProcessThreadProc(LPDWORD lpdwParam)
{
    SOCKET skOut=*lpdwParam;            
    SetEvent(hSocketNumberCopied);
    if (skOut != INVALID_SOCKET) {
       Blocking(skOut);                
       DoSession(skOut);
       closesocket(skOut);
    }
    return(1);
}
DWORD ProcessThreadProc ( LPDWORD lpdwParam ) { SOCKET skOut = * lpdwParam ; SetEvent ( hSocketNumberCopied ) ; if ( skOut != INVALID_SOCKET ) { Blocking ( skOut ) ; DoSession ( skOut ) ; closesocket ( skOut ) ; } return ( 1 ) ; }
ProcessThreadProc - Thread processes FkScrape requests
Parameters:
lpdwParam - ?
ProcessThreadProc - Thread processes FkScrape requests Parameters : lpdwParam - ?
// Send output to client //printf("ProcessThreadProc sock %d\n",skOut); // going synchronous now