diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-19 19:05:41 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-19 19:06:42 +0100 |
commit | a3342d096f3456e5e8d087bb3c8eea8b25eb6b57 (patch) | |
tree | 593c21e6c05cd92079831784f436bdf4ca653e70 /src/net.h | |
parent | e0b8d459b189ee2b7e95a47b217e4b02bfb523b3 (diff) |
Fix #626: RecvLine wrong error message
Also moved RecvLine to net.cpp.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,6 +29,7 @@ inline unsigned int ReceiveBufferSize() { return 1000*GetArg("-maxreceivebuffer" inline unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", 10*1000); } static const unsigned int PUBLISH_HOPS = 5; +bool RecvLine(SOCKET hSocket, std::string& strLine); bool GetMyExternalIP(CNetAddr& ipRet); bool AddAddress(CAddress addr, int64 nTimePenalty=0, CAddrDB *pAddrDB=NULL); void AddressCurrentlyConnected(const CService& addr); |