Originally Posted by Fou-Lu
Why? If you can't respond to listening on the port, then there isn't really a need to establish it.
That's what you pretty much have to do. Set up a server socket, then while true accept from it. That's all you need to do to listen on a port.
I'm a newbie, it's going to be used for a server status type of thing, can you make me a class that just listens on the port via sockets?
And that's it?