You have to put in how many bytes of data you want to recieve in clientsocket.recv() eg. clientsocket.recv(1024) for 1kB.

On 7/31/05, Joseph Quigley < [EMAIL PROTECTED]> wrote:
Hi Dan,

Danny Yoo wrote:

>######
>clientsocket.recv()
>######
>
>should work better.
>
>
Ok well I tried your examples but they didn't work. I still get:
TypeError: recv() takes at least 1 argument (0 given)

How can I fix this?

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to