note 110634 added to function.msg-send
| From: | Muffinman | Date: | Thu, 15 Nov 2012 10:24:35 +0000 |
| Subject: | note 110634 added to function.msg-send | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191996@lists.php.net to get a copy of this message | ||
When sending non-complex (serialize = false) messages to a program in C, you need to add the null
character to the string (\0). Otherwise the previous message will be partially visible if it is
longer than the current message. Took some kind help from comp.lang.php for me to figure that out.
While it seems so obvious now, I thought I'd share it here.
----
Server IP: 69.147.83.199
Probable Submitter: 62.45.85.54
----
Manual Page -- http://www.php.net/manual/en/function.msg-send.php
Edit -- https://master.php.net/note/edit/110634
Del: integrated -- https://master.php.net/note/delete/110634/integrated
Del: useless -- https://master.php.net/note/delete/110634/useless
Del: bad code -- https://master.php.net/note/delete/110634/bad+code
Del: spam -- https://master.php.net/note/delete/110634/spam
Del: non-english -- https://master.php.net/note/delete/110634/non-english
Del: in docs -- https://master.php.net/note/delete/110634/in+docs
Del: other reasons-- https://master.php.net/note/delete/110634
Reject -- https://master.php.net/note/reject/110634
Search -- https://master.php.net/manage/user-notes.php