[Tutor] Socket Programming

Joseph Quigley cpu.crazy at gmail.com
Mon Aug 1 17:41:42 CEST 2005


Hi,

Ok. But what if I wanted to send a 1 mb message? Could I leave 
.recv(10000) in and send 'Hi!' as well or would I have to change it?
Thanks,
    JQ

Adam Bark wrote:

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




More information about the Tutor mailing list