<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    If we look at the following page:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html">http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html</a><br>
    <br>
    We see in Section 1.5 that the function listener_on_message has the
    signature:<br>
    <br>
    <span class="keywordtype" style="color: rgb(96, 64, 32); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">void</span><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> listener_on_message (</span><a class="code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga0d2aab846f7125cb37acd8a50dc2d0
c6.html#ga0d2aab846f7125cb37acd8a50dc2d0c6" title="Execution context object used by the API to provide default settings." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollCtx</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * ctx, </span><a class=
"code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga7cdc0f775d9b54eeb78904e6f5242d22.html#ga7cdc0f775d9b54eeb78904e6f5242d22" title="Abstraction that represents a connection that maybe be a listener created by nopoll_listener_new or b..." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollConn</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0
px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * conn, </span><a class="code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga8abc18b997c98d124d3342209ae668e9.html#ga8abc18b997c98d124d3342209ae668e9" title="Abstraction that represents a single websocket message received." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollMsg</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align
: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * msg, </span><a class="code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga6ce99d48900be6d4a3098812376fb4ce.html#ga6ce99d48900be6d4a3098812376fb4ce" title="Pointer to any structure definition." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollPtr</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: norma
l; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * user_data)</span><br>
    <br>
    However this is incorrect, it should be:<br>
    <br>
    <span class="keywordtype" style="color: rgb(96, 64, 32); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">void</span><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> listener_on_message (</span><a class="code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga0d2aab846f7125cb37acd8a50dc2d0
c6.html#ga0d2aab846f7125cb37acd8a50dc2d0c6" title="Execution context object used by the API to provide default settings." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollCtx</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * ctx, </span><a class=
"code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga7cdc0f775d9b54eeb78904e6f5242d22.html#ga7cdc0f775d9b54eeb78904e6f5242d22" title="Abstraction that represents a connection that maybe be a listener created by nopoll_listener_new or b..." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollConn</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0
px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * conn, </span><a class="code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga8abc18b997c98d124d3342209ae668e9.html#ga8abc18b997c98d124d3342209ae668e9" title="Abstraction that represents a single websocket message received." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollMsg</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align
: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> * msg, </span><a class="code" href="http://www.aspl.es/nopoll/html/group__nopoll__decl__module_ga6ce99d48900be6d4a3098812376fb4ce.html#ga6ce99d48900be6d4a3098812376fb4ce" title="Pointer to any structure definition." style="color: rgb(70, 101, 162); font-weight: normal; text-decoration: none; font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 252, 253);">noPollPtr</a><span style="color: rgb(0, 0, 0); font-family: monospace, fixed; font-size: 13px; font-style: normal; font-variant: normal; font-weight: norma
l; letter-spacing: normal; line-height: 13px; orphans: auto; text-align: start; text-indent: -53px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(251, 252, 253);"> user_data)</span><br>
    <br>
    (The different is in the user_data parameter ... removal of the
    extra pointer indirection).<br>
    <br>
    Neil<br>
  </body>
</html>