I am about to write a module for my own Home automation software to handle my irTrans (LAN rcv/tr).
I have looked at your .Net example, And I would like some more info about the dll :
- Code: Select all
irt = new IRTransServer ("localhost");
Does this actually connect to the irTrans Module ?
- Code: Select all
NETWORKSTATUS stat = irt.IRSend ("sony","play");
Does this function returns once the ir has been sent, or just when the module has received the packets ? (I Need to know this to avoid flooding)
Could we have more info on the NETWORKSTATUS Class properties ?
Once the function returns, is the connection closed or left opened ?
if it's left opened, is it forever ?
if it's left opened and after some time I unplug the Module from the network, will I ever receive the ConnectionLost event before actually sending something ?
When sending something, if the module is unreachable for some reason, will I receive an exception, or just "something" in NETWORKSTATUS object ?
If I then reconnect the module, will the irSend just work (automatically reconnects), or will I have to create a new IRTransServerObject ?
Same questions for the AsyncReceiver, what happens if the module become unreachable.
My need is only to blast and receive. Wouldn't it be easier to use a simple udpClient ?
Thank you for your help.