/** Receive out-of-band messages from the remote system. @param [in] argc The number of arguments @param [in] argv The argument value array @retval 0 The application exited normally. @retval Other An error occurred. **/ int main( int argc, char ** argv ) { int RetVal; WSADATA WsaData; // // Initialize the WinSock layer // RetVal = WSAStartup ( MAKEWORD ( 2, 2 ), &WsaData ); if ( 0 == RetVal ) { // // Start the application // RetVal = OobRx ( argc, argv ); // // Done with the WinSock layer // WSACleanup ( ); } // // Return the final result // return RetVal; }
/** Receive out-of-band messages from the remote system. @param [in] Argc The number of arguments @param [in] Argv The argument value array @retval 0 The application exited normally. @retval Other An error occurred. **/ int main ( IN int Argc, IN char **Argv ) { int RetVal; // // Run the application // RetVal = OobRx ( Argc, Argv ); // // Return the operation status // return RetVal; }