Python networking with UDP for action games -


okay, please don't kill me asking this. i'm developing 2d online multiplayer platformer shooter. yeah, it's cool. have of game written couple of bugs , unoptimized, i'm stuck when comes networking. used pygame, , tried using bunch of python libraries networking. name it, think i've looked @ primary ones. here pyenet - thought had internal congestion control, ugh mastermind - not asynchronous podsixnet - udp? legume - stuck server giving me exception, waiting response @ mailing list. looks absolutely gorgeous otherwise. can't remember other ones tried. anyways, need udp (trust me, need udp) , reliable protocol chat, masterserver, new player info, , packets can't afford lose. read somewhere tcp , udp used simultaneously wasn't idea, tried finding reliable udp implementations in python, therefore wandering these obscure libraries. along way i've learned fool around sockets myself, have 2 clear paths. 1) when people asked if udp , tcp bad idea, maybe meant use same port both protocols. how bad if use 2 different ports? tcp part idle of time, anyways, maybe 0-20 packets per 10 sec busy server. 2) write own reliable udp. ugh, it's hiding from. if fails, guess i'll need that.

in short, yes. use python/scapy test network equipments time. assuming using threads 2 separate communication channels. if cpu can handle there no reason why cannot this, , of course amount of traffic generated network games not enough utilize modern day cpus.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -