LInet::LInet

#include "ltwrappr.h"

L_VOID LInet::LInet(L_VOID)

Constructs and initializes the member variables of the LInet object.

Returns

None

Comments

LInet::LInet () is a constructor for the LInet object.

Required DLLs and Libraries

LTNET

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LInet::~LInet, Class Members

Example

This will call the default constructor and destructor when it is out of scope

L_INT LInet__LInetExample()
{
   L_INT nRet;
   LInet Inet;
   nRet = Inet.StartUp();
   if(nRet != SUCCESS)
      return nRet;
   nRet = Inet.ServerInit(1000);
   if(nRet != SUCCESS)
      return nRet;
   if (Inet.IsValid())
      MessageBox(NULL, TEXT("Server successfully started"), TEXT(""), MB_OK);
   else
      return FAILURE;
   // other operations
   nRet = Inet.ShutDown();
   if(nRet != SUCCESS)
      return nRet;
   return SUCCESS;
}