Page 1 of 1

irtrans lan controller multiple access problem

PostPosted: Wed 20. Aug 2014, 08:53
by Stef
Hi,

In our environment we do have one lancontroller with 16 ports up and running. Via several desktops we sent commands do different ports on de lan controller. We're using vb.Net with the .net dll of irtrans.

Problem now using the .net dll
Only the first pc which creates a new IrTransServer object linked to the ipaddress of the lancontroller can sent keys to the lancontroller. The second, third... cannot create any connection with the server anymore.

Am I doing something wrong?

The irserver is created whenever no irtransserver is actually running. This goes fine (only for the first desktop which creates the connection)

Code snippet attached
#property IrServer
If _irServer Is Nothing Then
_irServer = New IRTransServer(strIPofIRTRANS)
End If
Return _irServer


#Sending
IrServer.IRSend("xxx_remote", RCUKeyName, PortNumber, 0)

Re: irtrans lan controller multiple access problem

PostPosted: Wed 20. Aug 2014, 15:34
by eric
Hi,

Marcus has already written an eMail reagarding this topic. Did you get that?

In short: The IRTrans only supports 4 TCP sessions, make sure no sessions are dropped or left open. Or use the IRServer and connect to the IRServer with the DLL. Or use the ASCII API.

best regards,

Eric