net: SocketSendData returns written size

This commit is contained in:
Cory Fields
2016-05-21 12:04:02 +02:00
parent ee44fa9576
commit adf5d4c2e4
2 changed files with 5 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ unsigned short GetListenPort();
bool BindListenPort(const CService &bindAddr, std::string& strError, bool fWhitelisted = false);
bool StartNode(CConnman& connman, boost::thread_group& threadGroup, CScheduler& scheduler, std::string& strNodeError);
bool StopNode(CConnman& connman);
void SocketSendData(CNode *pnode);
size_t SocketSendData(CNode *pnode);
struct CombinerAll
{