Class ForceIP
Defined in File force_ip.h
Class Documentation
-
class ForceIP
Class for sending GigE Vision FORCEIP_CMD to camera.
Public Types
-
typedef SocketLinux SocketType
Public Functions
-
ForceIP()
Constructor. Sets up sockets.
-
void sendCommand(std::uint64_t mac, std::uint32_t ip, std::uint32_t subnet, std::uint32_t gateway)
Send FORCEIP_CMD.
Note
If
ip
is set to 0, the camera will perform a reconnect.- Parameters:
mac – the destination MAC address
ip – the desired IP address
subnet – the desired subnet mask
gateway – the desired default gateway
-
typedef SocketLinux SocketType