MCPcopy Create free account
hub / github.com/catboost/catboost / Bind

Method Bind

util/network/sock.h:385–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383
384public:
385 int Bind(const ISockAddr* addr, ui16 mode = DEF_LOCAL_SOCK_MODE) {
386 return addr->Bind((SOCKET) * this, mode);
387 }
388
389 void CheckSock() {
390 if ((SOCKET) * this == INVALID_SOCKET) {

Callers 4

Y_UNIT_TESTFunction · 0.45
RunLocalDgramTestFunction · 0.45
RunInetStreamTestFunction · 0.45
RunLocalStreamTestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected