7 Jun
2018
7 Jun
'18
7:54 p.m.
On 07/06/2018 08:45, Huw Davies wrote:
+static void process_received_message(listener_thread_params *params, char *message, int message_len, + SOCKADDR_STORAGE *source_addr)
This should return HRESULT.
There's not really anything that can be done with that result. If an unknown message is received, I can add a trace for it, but an error reading the message is not a reason to, for instance, stop listening on the socket, so I'm not sure what purpose having a return value here would serve. Cheers, Owen