Reading data that is being received on a specific TCP port

MattNorman

Well-known member
Joined
May 22, 2021
Messages
98
Programming Experience
1-3
I am working on a project that heavily relies on the processing of real time data.

The application that collects the data has an adaptor that can be used to send all of the real time data to a configured IP address and port number.

I then need to have a service that will listen for that data and insert it into my apps database.

I have done a lot of looking around and honestly am not even sure what I should be searching for. I had a look at the .NET TCP listener however all examples seem to point at needing to setup a connection between the two hosts. As I understand it, the server sending the data does not need nor accept a connection, it simply just sends the data every 3 seconds.

Could anyone steer me in the right direction of what I should be looking at for this?

Regards
Matt
 
Yes, you need to run the TcpListener in your code. You then configure the adapter of that application to point to your listener. It will try to make a connection to your listener.
 
Back
Top Bottom