source/server/GameServer.py
def Connected(self, channel, addr):
        """Called by podsixnet when a client connects and establishes a channel"""
        if self.in_round:
            print(channel, 'Client tried to connect during active round, try again between rounds')
            channel.Send({"action": "connectionDenied"})
        else:
            self.players.append(channel)
            self.Send_publicInfo()
            print(channel, "Client connected")
            if self.round >= 0:
                print(channel, 'a client joined between rounds')
Called by podsixnet when a client connects and establishes a channel
Called by podsixnet when a client connects and establishes a channel
Called by podsixnet when a client connects and establishes a channel
def Connected(self, channel, addr):
        if self.in_round:
            print(channel, 'Client tried to connect during active round, try again between rounds')
            channel.Send({"action": "connectionDenied"})
        else:
            self.players.append(channel)
            self.Send_publicInfo()
            print(channel, "Client connected")
            if self.round >= 0:
                print(channel, 'a client joined between rounds')
def Connected ( self , channel , addr ) : if self . in_round : print ( channel , 'Client tried to connect during active round, try again between rounds' ) channel . Send ( { "action" : "connectionDenied" } ) else : self . players . append ( channel ) self . Send_publicInfo ( ) print ( channel , "Client connected" ) if self . round >= 0 : print ( channel , 'a client joined between rounds' )
Called by podsixnet when a client connects and establishes a channel
Called by podsixnet when a client connects and establishes a channel
"""Called by podsixnet when a client connects and establishes a channel"""
self
channel
addr