Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
sock.cpp File Reference
#include <util/sock.h>
#include <common/system.h>
#include <compat.h>
#include <logging.h>
#include <threadinterrupt.h>
#include <tinyformat.h>
#include <util/syserror.h>
#include <util/time.h>
#include <codecvt>
#include <cwchar>
#include <locale>
#include <memory>
#include <stdexcept>
#include <string>
Include dependency graph for sock.cpp:

Go to the source code of this file.

Functions

static bool IOErrorIsPermanent (int err)
 
std::string NetworkErrorString (int err)
 Return readable error string for a network error code.
 
bool CloseSocket (SOCKET &hSocket)
 Close socket and set hSocket to INVALID_SOCKET.
 

Function Documentation

◆ CloseSocket()

bool CloseSocket ( SOCKET hSocket)

Close socket and set hSocket to INVALID_SOCKET.

Definition at line 405 of file sock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOErrorIsPermanent()

static bool IOErrorIsPermanent ( int  err)
inlinestatic

Definition at line 26 of file sock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NetworkErrorString()

std::string NetworkErrorString ( int  err)

Return readable error string for a network error code.

Definition at line 398 of file sock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: