I have a socket from which I would like to parse some data, how would I dothat? Of course, I can manually read data from the socket until unpack() stops complaining about a lack of data, but that sounds rather inelegant.Any better suggestions?
Read until you get the required bytes; use the size attribute. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list