WAS sends a command to a plugin and the plugin sends the command to a socket server. You can develop the plugin by using C++ or C#.
In case of ProudNet, you can use NetClient or LanClient.
The following instruction is how to do WAS plugin programming.