I have been trying to find information on how to use sockets to send rcon commands to a dedicated server. I have noticed a few perl / python scripts, but since i dont understand those languages, i am a bit lost

I am trying to make a webinterface to control my nexuiz server, because i have encountered places where i have been unable to connect to my server using remote desktop.
If anyone now of an application or class library capable of this, it would be great. Also if someone know how to do this in PHP or C#/VB.NET, any help would be appreciated...
>RepTail