I need to send commands from server to client and vise versa. I already have some experience with sockets. here is my plugin's setup: 1. bukkit server is run and sockets are bound to. 2. client accesses my plugins http server via web browser. 3. the client is given an applet on a page that needs to send and receive commands. my question is, how would I setup a command listening port and have it react to multiple clients. Any good tutorials or actual help would be greatly appreciated.
You need: - Multi threading, to accept multiple clients. Maybe even a thread pool. - a ServerSocket, not that hard to setup, google it. Make sure the used port is forwarded. - A client that connects to the serversocket