MCPcopy Create free account
hub / github.com/chen3feng/toft / DatagramSocket

Method DatagramSocket

system/net/socket.cpp:621–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619// DatagramSocket members
620
621DatagramSocket::DatagramSocket(int af, int protocol)
622{
623 if (!Create(af, protocol))
624 throw SocketError("DatagramSocket");
625}
626
627bool DatagramSocket::SendTo(
628 const void* buffer,

Callers

nothing calls this directly

Calls 1

SocketErrorClass · 0.85

Tested by

no test coverage detected