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.<br><br><div><span class="gmail_quote">On 8/1/05, <b class="gmail_sendername">Joseph Quigley</b> &lt;<a href="mailto:cpu.crazy@gmail.com">cpu.crazy@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Ok. But what if I wanted to send a 1 mb message? Could I leave<br>.recv(10000) in and send 'Hi!' as well or would I have to change it?<br>Thanks,<br>&nbsp;&nbsp;&nbsp;&nbsp;JQ<br><br>Adam Bark wrote:<br><br>&gt; You have to put in how many bytes of data you want to recieve in
<br>&gt; clientsocket.recv() eg. clientsocket.recv(1024) for 1kB.<br><br><br></blockquote></div><br>