[Tutor] Socket Programming

Adam Bark adam.jtm30 at gmail.com
Mon Aug 1 17:04:59 CEST 2005


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 <cpu.crazy at gmail.com> 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 at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050801/cc3541ec/attachment.htm


More information about the Tutor mailing list