MCPcopy Create free account
hub / github.com/ReadyTalk/avian / doSend

Function doSend

classpath/java-nio.cpp:353–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353int doSend(int fd, sockaddr_in* address, const void* buffer, size_t count)
354{
355 return sendto(fd,
356 static_cast<const char*>(buffer),
357 count,
358 0,
359 reinterpret_cast<sockaddr*>(address),
360 sizeof(sockaddr_in));
361}
362
363int makeSocket(JNIEnv* e, int type = SOCK_STREAM, int protocol = IPPROTO_TCP)
364{

Calls

no outgoing calls

Tested by

no test coverage detected