Connect
|
![]() ![]() ![]() |
|
[in] const char* ipAddr
|
String containing the IP address which will be assigned to the virtual camera. Must be in the same subnet as the interface selected in the first parameter. If zero or omitted, the camera's IP address will coincide with the IP address of the selected interface.
|
S_OK
|
Success
|
E_FAIL
|
Failure
|
E_NOINTERFACE
|
Interface does not exist
|
E_INVALIDARG
|
Wrong IP address
|
|
static CGevCamera* m_pCamera;
|
m_pCamera = createCamera();
|
m_pCamera->Connect ("169.254.1.100");
|
|