thomas10001
Regular
I want to listen (read data) from a port that is in use on my computer.
How can I do this? I want to find out what is sent to my port from another server.
I have tried to make simple program using sockets. But I am not able to read any data.
I have also tried to connect with telnet and other software but without any result.
If I want to listen to a port that is in use sending/receiving data, should I connect to my local port or to the server is one question.
Even if the port is in use, shouldn't I be able to connect to it and read the data somehow?
How can I do this? I want to find out what is sent to my port from another server.
I have tried to make simple program using sockets. But I am not able to read any data.
I have also tried to connect with telnet and other software but without any result.
If I want to listen to a port that is in use sending/receiving data, should I connect to my local port or to the server is one question.
Even if the port is in use, shouldn't I be able to connect to it and read the data somehow?