0 if none.UdpSocket.lastError
int lastError() @property const @safe nothrow @nogcGet the last error recorded by a socket operation.
Returns
POSIX errno value from the last failed operation, or
int lastError() @property const @safe nothrow @nogcGet the last error recorded by a socket operation.
0 if none.