UDPSock.recvfrom(buf) ??????? (buf) ???
Diego Uribe Gamez
diego.uribe.gamez at gmail.com
Wed Jun 6 17:12:16 EDT 2012
Estoy mirando una conexión por Soket y no logro entender que hace el buf?
que es lo que cambia? el numero que se le asigna es que?
host = "localhost"
port = 21567
buf = 1024
data = ''
addr = (host, port)
UDPSock = socket(AF_INET, SOCK_DGRAM)
while (1):
data, addr = UDPSock.recvfrom(buf)
--
*Diego Alonso Uribe Gamez*
------------------------------
*Desarrollador web*
Twitter: @DiegoUG <http://www.twitter.com/DiegoUG>
Google+: http://gplus.to/diegoug
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120606/1ae131f9/attachment.html>
More information about the Python-list
mailing list