How to read text from TCP port

  • Thread starter Thread starter DM777
  • Start date Start date
D

DM777

Guest
I have a device that is continuously sending text over a TCP port and I want to write a VB.net application that will read and evaluate this data. Being new to programming I am having trouble working out how to establish a connection to this TCP port and read the text using VB code. I am able to view this stream of data using telnet.

Most of the example code I have seen during my research seems to deal with two way communication but I think what I need is just one way (I don’t need to send any commands to the device – just read what it is sending).

Im hoping some kind person can provide example code to get me started or point me in the right direction?

Any help would be much appreciated!

Thanks,

DM777

Continue reading...
 
Back
Top