MCPcopy Create free account
hub / github.com/defold/defold / SetupSendSocket

Function SetupSendSocket

engine/dlib/src/test/test_mdns.cpp:876–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874 }
875
876 static bool SetupSendSocket(ScopedSocketHandle* socket)
877 {
878 return dmSocket::New(dmSocket::DOMAIN_IPV4, dmSocket::TYPE_DGRAM, dmSocket::PROTOCOL_UDP, &socket->m_Socket) == dmSocket::RESULT_OK;
879 }
880
881 static bool SendPacketToAddress(dmSocket::Socket socket, const uint8_t* data, uint32_t size, const char* address, uint16_t port)
882 {

Callers 1

TESTFunction · 0.85

Calls 1

NewFunction · 0.50

Tested by

no test coverage detected