Jebbs / DSFML

DSFML is a D binding of SFML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add send method to TcpSocket class that returns number of bytes sent

Jebbs opened this issue · comments

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.