Example #1
0
 def join(self):
     self.joinButton.text = "WAITING"
     self.joinButton.callback = None
     sock = Socket.Client()
     print('i am client')
     self.sock = sock
     ctx['imHost'] = False
     ctx['sock'] = sock
     sock.connect()
     Scene.game.setScene(MainScene())
Example #2
0
import Socket
client=Socket.Client()
Example #3
0
import Socket
import os
Socket.Client().run_client()