This is not fully supported here. You can use sockets (fsock, etc) to make connections outbound to other servers on standard web ports (21,80,443,3306,8080, the mail ports, and maybe a few others) only. Inbound connections are not allowed. You can't run a server that listens for connections on a custom port, which it sounds like you're trying to do.