View Full Version : transport:Write
Mike C
September 6th, 2009, 11:35 AM
what does an error of -1 mean when trying to write to a transport
i can successfully open the connection but get a write failed.
Ron
September 7th, 2009, 07:42 AM
Which transport? (Serial/Tcp/Hid)
Mike C
September 7th, 2009, 10:27 AM
tcp
it opens just fine, then go to write and get that error back.
Ron
September 8th, 2009, 08:07 AM
Looking at the code for the tcp transport this means that the internal socket object has been reset. I have a feeling your remote device is immediately closing the connection.
Mike C
September 8th, 2009, 03:16 PM
Looking at the code for the tcp transport this means that the internal socket object has been reset. I have a feeling your remote device is immediately closing the connection.
can this happen without a close event being generated? i do not see one.
any ideas on why its closing? the test software they send works fine.
easiest solution would be to wrap HAI's .NET dll as it manages all comm's and encyption rather than rolling my own.
Ron
September 9th, 2009, 07:30 AM
The close event should fire. I suggest looking at this with a TCP/IP sniffer.
As you know the LuaInterface code is very unstable and will not be added to Girder. You can always create a bridge with a separate .net app...
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.