Skip to content
Snippets Groups Projects
Commit 75262e7b authored by KOLESNIKOV KIRILL's avatar KOLESNIKOV KIRILL
Browse files

Update receiver-udp.c

parent e2eab6ff
Branches
No related merge requests found
......@@ -38,6 +38,7 @@ int main(int argc, char *argv[1]) {
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = IPPROTO_UDP;
hints.ai_flags = AI_NUMERICHOST;
error = getaddrinfo(ip_new, argv[2], &hints, &res);
if (error != 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment