Made some fixes to the syntax and tested a socket server on an external server