[Live-devel] [PATCH] GroupsockHelper: include errno in error message in case of send error

Ross Finlayson finlayson at live555.com
Fri May 29 22:06:08 PDT 2015


> Except on Windows strerror() doesn't work with winsocket error codes (returned by WSAGetLastError()) instead FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, WSAGetLastError(), ...) should be used.
> I guess it would be better (than my solution) to change BasicUsageEnvironment0::setResultErrMsg() to account for that (would you be interested in a patch?)

Yes, please.  (Please make sure that it’s specific to Windows, and won’t break when compiled for other systems.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150529/6587b8ef/attachment.html>


More information about the live-devel mailing list