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

Function init

classpath/java-nio.cpp:156–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void init(sockaddr_in* address, jint host, jint port)
157{
158 memset(address, 0, sizeof(sockaddr_in));
159 address->sin_family = AF_INET;
160 address->sin_port = htons(port);
161 address->sin_addr.s_addr = htonl(host);
162}
163
164inline bool einProgress(int error)
165{

Calls

no outgoing calls

Tested by

no test coverage detected