DSFML
DSFML copied to clipboard
Add send method to TcpSocket class that returns number of bytes sent
According to the SFML 2.4 documentation, the TcpSocket class should have a send method for raw data that returns the number of bytes sent as an out parameter.
In non-blocking mode, it may not be the case that a TcpSocket sent everything, which a developer would need to know.