MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / SendTo

Method SendTo

Kernel/src/net/socket.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95int64_t Socket::SendTo(void* buffer, size_t len, int flags, const sockaddr* src, socklen_t addrlen){
96 assert(!"SendTo has been called from socket base");
97
98 return -1; // We should not return but get the compiler to shut up
99}
100
101fs_fd_t* Socket::Open(size_t flags){
102 fs_fd_t* fDesc = (fs_fd_t*)kmalloc(sizeof(fs_fd_t));

Callers 2

SysSendToFunction · 0.45
SysSendMsgFunction · 0.45

Calls 8

WarningFunction · 0.85
SignalMethod · 0.80
YieldFunction · 0.50
PosMethod · 0.45
WriteMethod · 0.45
CanReadMethod · 0.45
get_lengthMethod · 0.45
remove_atMethod · 0.45

Tested by

no test coverage detected