|
USBIP C library 0.7.0
Virtual USB devices & host drivers over USB/IP
|
The transport is local by default; going remote is one argument at each end.
On the device side, listen where the client can reach you: usbip_transport(NULL, 3240) (or "0.0.0.0") binds every interface, while "127.0.0.1" binds only the loopback, which a remote client can never reach. Open TCP 3240 in the firewall.
On the host side, point the context at the serving machine:
An OS importer attaches the same way from anywhere: usbip attach -r <server-ip> -b 1-1 (USB/IP clients).
Speed declarations, isochronous pacing and the latency cost of a network round trip per transfer are covered in Hardware clients.