From: Zsdfhdfgasdf Gsfgsdgsdgsd Date: 2010-07-13T21:18:18+09:00 Subject: Programming TCP-protocol Server (MineCraft) There's this game called Minecraft (http://www.minecraft.net/) Read this site first: http://www.minecraftwiki.net/wiki/Development_Resources What I want to do is to create a custom Minecraft Server in Ruby. There are several in other languages: http://www.minecraftwiki.net/wiki/Custom_server_list But I'd like to make it in mine. Basically all the server has to do is to (Initialization): Send it's name, max players, ip and port to the server (www.minecraft.net/heartbeat.jsp) E.g: (port=25565&max=32&name=name&public=True&version=7&salt=wo6kVAHjxoJcInKx&users=0) And then receive each client and... do stuff <<- I can figure that out on my own. But the crucial thing I DON'T know is how to SEND TCP packets and DECODE them after receiving them. May someone give me a pointer? -- Posted via http://www.ruby-forum.com/.