[Code] Updated Socket command.

Updated the socket command to be better formatted.