I'm just wondering if it's absolutely necessary to read the response
from meteor after issuing the ADDMESSAGE command?
I'm looking at the example here: http://meteorserver.org/examples/ and
I don't see any use for this. Please enlighten me :)
- If you just close the socket after adding the message, be careful to
wait until the socket write buffer is empty (or the message may be not
fully sent).
- If you do not close the socket, note that for any later command for
which you'd expect a response, you'll get first the buffered response
of previous ADDMSG command.
So, in my opinion, is just more sane to wait for the command response,
even if you then ignore it.
> - If you just close the socket after adding the message, be careful to
> wait until the socket write buffer is empty (or the message may be not
> fully sent).
> - If you do not close the socket, note that for any later command for
> which you'd expect a response, you'll get first the buffered response
> of previous ADDMSG command.
> So, in my opinion, is just more sane to wait for the command response,
> even if you then ignore it.