I am trying to make a customer of test in way text and am with some relative doubts to twisted. Later that I execute the object reactor, as sending the packages to the server?

My problem:

def main():

   ...

   my_client = Main(configfile, settingsfile)

   my_pack = PacketLogin(name = "jones", password = "brazil")

   my_factory = PokerClientFactory(settings = my_client.settings, config = 
my_client.config)

   reactor.connectTCP('dev.mypokerspace.com', 19380, my_factory)

   reactor.run()

   protocol = UGAMEClientProtocol()

   protocol.sendPacket(my_pack)


I still need to send given more the rector I am in Loop. How I must make?



_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits

Reply via email to