I am trying to read from another method asides the onClientConnected method.
Kindly advice on how to to go about it. I am able to read from onClientConnected.
I am using the GURUX java library. i use the .NET OnclientConnect method to receive connection and save the socket address in a map. Whenever i read the meter directly from the onClientConnected method it works fine, but when i try to read it upon a button click, it becomes incosistent.. works well atimes..
I don't know if your meter wan work like this. When the meter makes the connection it's usually read right away. There is keep alive time after the connection is closed if you don't read anything from the meter. You can try to save socket instance and not close it, but I don't know if this is working or not.
Actually, I want to know
Actually, I want to know about it because now I started .Net learning.
Hi,
Hi,
I'm sorry, but for some reason, I didn't notest your post before. Can you describe your problem a little bit more?
BR,
Mikko
I am using the GURUX java
I am using the GURUX java library. i use the .NET OnclientConnect method to receive connection and save the socket address in a map. Whenever i read the meter directly from the onClientConnected method it works fine, but when i try to read it upon a button click, it becomes incosistent.. works well atimes..
GURUX.Net is it NIO-Non
GURUX.Net is it NIO-Non-Blocking Input/Output ?
Hi,
Hi,
I don't know if your meter wan work like this. When the meter makes the connection it's usually read right away. There is keep alive time after the connection is closed if you don't read anything from the meter. You can try to save socket instance and not close it, but I don't know if this is working or not.
BR,
Mikko