Hello all. I am an application side programmer starting to delve into server programming. I have found plenty of information on and have knowledge of opening and connecting to network sockets. But I am at a loss when it comes to actually getting a server to execute commands. Where can I find a good resource for how to best accomplish this?

The best I can tell is the send/receive functions contain keywords that get interpreted by a case statement, or similar. I can not believe this would be an efficient way to accomplish this.