Advertisement
Reiku

Untitled

Apr 23rd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. getaddrinfo( this->dest_name_or_ip.c_str(), NULL, &( this->hints ), &( this->res ) )
  2. // Vraci -1.
  3. sendto( socket_send, NULL, 0, 0, ( struct sockaddr * )( this->res->ai_addr ), sizeof( struct sockaddr_in6 ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement