Dynamic View Services > Implementing a Dynamic View Server and its Components > Initializing and Running a Component > Using Rogue Wave Server MvTCP
 
Using Rogue Wave Server MvTCP
Use the following code to initialize your component:
#include <ilserver/mvtcp/tcpmvproc.h>
#include <ilserver/mvproc.h>
int main(int argc, char **argv)
{
if (!IlsTcpMvProcess::Initialize(argc,argv))
cerr << "Initialization of server failed" << endl;
return 1;
}
...
IlsMvProcess::Run();
}
You must then link the component with the mvcomp, mvtcp, and ilog libraries.

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.