Hey everyone!
I am looking to write a console application to communicate to a panel.
This is a new job from my employer, and is essentially a 'let's see if we can do this' sort of a project.
I have never played with a network stream (read/write) before and I was hoping to be able to get some help on the basics of it.
I have the panel connected though the network(ethernet) and have programmed an IP into it and a Port.
In theory when my .Write gets to the panel with a connection request the Panel should respond. This is where is gets stuck.
The .Read on the network stream always returns '0' for the length of the buffer.
I can post some code if it is required but it, quite frankly' is messy as can be. So I was just hoping to get some tips first.
Thanks in advance.
I am looking to write a console application to communicate to a panel.
This is a new job from my employer, and is essentially a 'let's see if we can do this' sort of a project.
I have never played with a network stream (read/write) before and I was hoping to be able to get some help on the basics of it.
I have the panel connected though the network(ethernet) and have programmed an IP into it and a Port.
In theory when my .Write gets to the panel with a connection request the Panel should respond. This is where is gets stuck.
The .Read on the network stream always returns '0' for the length of the buffer.
I can post some code if it is required but it, quite frankly' is messy as can be. So I was just hoping to get some tips first.
Thanks in advance.