CrossSocket v1.1
Version 1.1
- Renamed
CrossSocket.htoSocket.h - Sockets are now shut down before they are closed
- Added Doxygen comments
- (1.0W8) has been resolved.
CrossSocketUtils.h
- Added
ECONNREFUSEDmacro close_socket()has been moved into theCS_Utilsclass for call safety- All
CS_Utilscontents have been made private for call safety- CrossSocket files have been marked as friends to this class
Socket.h
- Renamed
CloseSocket()toClose() - Added
Shutdown()for manual shutdown calls Close()now checks if thesocket_tis valid before trying to close it
SocketManager.h
- Improved memory practices
- Added
CloseSockets()to close all Sockets handle by the SocketManager - Users should no longer close Sockets twice when using the SocketManager
- CrossSocket now intelligently handles this. Closing a Socket twice will not cause any errors, but it is unnecessary and a bad practice
What's Changed
- V1.1 by @NotMePipe in #1
Full Changelog: