net: make proxy receives interruptible

This commit is contained in:
Cory Fields
2016-12-27 17:13:31 -05:00
parent 5cb0fcee81
commit 8b3159ef0a
3 changed files with 13 additions and 2 deletions

View File

@@ -63,5 +63,6 @@ bool SetSocketNonBlocking(SOCKET& hSocket, bool fNonBlocking);
* Convert milliseconds to a struct timeval for e.g. select.
*/
struct timeval MillisToTimeval(int64_t nTimeout);
void InterruptSocks5(bool interrupt);
#endif // BITCOIN_NETBASE_H