USB Network Gate for macOS SDK User Guide

USB Network Gate for macOS SDK User Guide

int findServerDevices(const std::string &host);
Triggers onServerDeviceFound for every device shared on server, followed by onServerDevicesEnumerated.   Return:   errno error code
Wed, 27 Jul, 2022 at 5:31 PM
int localShare(const Device &dev);
Local devices management. Shares USB port.   Parameters:   dev - device that needs to be shared   Return:   errno error code
Wed, 27 Jul, 2022 at 5:31 PM
int localUnshare(const Device &dev);
Local devices management. Unshares USB port.    Parameters:    dev - device that needs to be unshared    Return:    errno error code
Wed, 27 Jul, 2022 at 5:27 PM
int localUnshareAll();
Local devices management. Unshares all shared ports.   Return:   errno error code
Wed, 27 Jul, 2022 at 5:43 PM
int localDisconnectClient(const Device &dev);
Local devices management. Disconnects client from the shared device.   Parameters:   dev - device that needs to be disconnected from client   Retur...
Wed, 27 Jul, 2022 at 5:37 PM
int remoteAdd(const Device &dev);
Remote devices management. Adds remote device to the list.   Parameters:   dev - device that needs to be added to the list   Return:   errno err...
Wed, 27 Jul, 2022 at 5:37 PM
int remoteConnect(const Device &dev, bool persistent);
Remote devices management. Connects to the remote device.   Parameters:   dev - device to which you need to connect   bool persistent - true if it’...
Wed, 27 Jul, 2022 at 5:37 PM
int remoteDisconnect(const Device &dev);
Remote devices management. Disconnects from the remote device.   Parameters:   dev - device that needs to be disconnected   Return:   errno erro...
Wed, 27 Jul, 2022 at 5:37 PM
int remoteBreakConnection(const Device &dev);
Remote devices management. Stops connection of the remote USB device to the remote server.   Parameters:   dev - device that needs to be disconnected ...
Wed, 27 Jul, 2022 at 5:37 PM
int remoteDelete(const Device &dev);
Remote devices management. Removes device from the list.   Parameters:   dev - device that needs to be removed from the list   Return:   errno e...
Wed, 27 Jul, 2022 at 5:36 PM