irtrans lan controller multiple access problem

The place where software developers meet

Moderator: marcus

irtrans lan controller multiple access problem

Postby Stef » Wed 20. Aug 2014, 08:53

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)
Stef
 
Posts: 8
Joined: Mon 26. May 2008, 08:04

Re: irtrans lan controller multiple access problem

Postby eric » Wed 20. Aug 2014, 15:34

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
eric
Administrator
 
Posts: 157
Joined: Mon 22. Oct 2012, 10:05


Return to APIs

Who is online

Users browsing this forum: No registered users and 9 guests

cron