Distibuted networking system

so, if i make a game with the current server, then wirte my own server based off the existing one, will i have to change the rest of my code?

if it will work without changing my code, i think i will make my game, then develop a server, based on the existing one, but probably written in a more scalable language. (Erlang, C++)