Python Create Tcp Socket Javascript Interview