Fixed hostname in statistics to properly be in packed binary format.
This commit is contained in:
parent
7e8aaf8ee0
commit
a6a6e296bc
3 changed files with 39 additions and 2 deletions
|
@ -72,6 +72,7 @@ namespace Socket {
|
|||
void setBlocking(bool blocking); ///< Set this socket to be blocking (true) or nonblocking (false).
|
||||
bool isBlocking(); ///< Check if this socket is blocking (true) or nonblocking (false).
|
||||
std::string getHost(); ///< Gets hostname for connection, if available.
|
||||
std::string getBinHost();
|
||||
void setHost(std::string host); ///< Sets hostname for connection manually.
|
||||
int getSocket(); ///< Returns internal socket number.
|
||||
std::string getError(); ///< Returns a string describing the last error that occured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue