none
How to read text from TCP port

    Question

  • 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).

    I'm 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

    Sunday, April 10, 2011 11:34 PM

Answers

All replies