t3knoid
FabulaTech Forum Newbie
Posts: 1
|
|
Hostname case-sensitivity
on: Oct 7th, 2013, 9:19am |
Quote Modify
|
I am using UON to share a USB device over the network. We have an application that calls usbclncmd via a batch file to connect to the server. The UON connection string is passed to this batch file. The batch file simply has the following line: usbclncmd connect %1 Where %1 is UON connection string (e.g. DEVAPP01:3300:0001). The problem is that the hostname is passed in all caps. The usbclncmd appears to be case sensitive which causes it not to recognize the specified hostname. It sees the hostname internally in lower case. This is evident with the following test: Running usbclncmd using lowercase for the hostname yields no error. Connection to the remote USB device is successful: C:\Program Files\USB over Network (Client)>usbclncmd.exe connect devapp01:33000:0001 Running usbclncmd using all uppercase for the hostname yields a “not found’ error: C:\Program Files\USB over Network (Client)>usbclncmd.exe connect DEVAPP01:33000:0001 Device DEVAPP01:33000:0001 not found! Here’s what the list command shows: C:\Program Files\USB over Network (Client)>usbclncmd.exe list DEVAPP01:33000 (available connections: 1 of 1) How can I resolve this issue. Is it possible to set the hostname to be all uppercase? Unfortunately changing the hardcoded hostname configuration in our app is not an option. Thanks.
|