Jose Mico
unread,Jun 11, 2009, 5:51:32 PM6/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to meteorserver
No, is not absolutely necessary. But:
- 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.