[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ProgSoc] Converting windows socket error codes to strings



Gday,

In winsock2, is there a way to convert windows socket error codes as returned from WSAGetLastError() into strings, eg:

WSAENOTCONN - "Socket is not connected"

I'm working in C++.

Cheers,
Jay.


- You are subscribed to the progsoc mailing list. To unsubscribe, send a message containing "unsubscribe" to progsoc-request@xxxxxxxxxxxxxxxxxxx If you are having trouble, ask owner-progsoc@xxxxxxxxxxxxxxxxxx for help.