Originally Posted by Fou-Lu
The TCPServer code looks to me that it will listen on port 6789 and wait for client input. Change the port to match the one you need.
When you say it doesn't work, what specifically do you mean? When you run the app, does it show as listening on port 6789 (or 43594 when you modify it) when you run a netstat?
I tried it, it's not want I want
Basically I only want the listening part nothing else
no client connecting just the listening part.