Socket options

billiejoex billiejoex at fastwebnet.it
Mon Sep 12 12:23:50 EDT 2005


If you are intrested in speed my personal advice is to use UDP insted of 
TCP.
The great majority of network games use it.
Here's a simple UDP implementation:
http://www.evolt.org/article/Socket_Programming_in_Python/17/60276/

> For an online game I'm developing I need some advice concerning 
> tcp-sockets, and especially which socket options to set and not.
> What I want is a connection where nothing is buffered (but are sent 
> immediatly), and I also want to keep the connections persistent until 
> explicitly closed.
> The server-side socket will receive multiple incomming requests from 
> clients...
>
> regards tores





More information about the Python-list mailing list