Hi Joe you can use 10000 and just send 'Hi!' as long as something else isn't likely to be sent at the same time. It will just read what is in that socket when you call it so if something else that you don't want is there just behind what you're after then you could end up with that as well.

On 8/1/05, Joseph Quigley <[EMAIL PROTECTED]> wrote:
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.



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

Reply via email to