MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Socket

Method Socket

Source/ThirdParty/tracy/common/TracySocket.cpp:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73enum { BufSize = 128 * 1024 };
74
75Socket::Socket()
76 : m_buf( (char*)tracy_malloc( BufSize ) )
77 , m_bufPtr( nullptr )
78 , m_sock( -1 )
79 , m_bufLeft( 0 )
80 , m_ptr( nullptr )
81{
82#ifdef _WIN32
83 InitWinSock();
84#endif
85}
86
87Socket::Socket( int sock )
88 : m_buf( (char*)tracy_malloc( BufSize ) )

Callers

nothing calls this directly

Calls 2

tracy_mallocFunction · 0.85
InitWinSockFunction · 0.85

Tested by

no test coverage detected