Closed developernew123 closed 6 years ago
An onreceivedmessage handler isn't straightforward, and I do agree it would be nice though, but do you think you could do this instead?
yes it would but wouldn't this make anything bad to the send() function ?
when I use it as a thread it doesn't send
It worked well I was using the thread after the return of the function which made it fail
add onreceivedmessage function to be a handler for messages so that I don't use poll() and dispatch() very many times