coding 5G SA, add documentation

This commit is contained in:
Laurent
2020-07-27 20:35:10 +02:00
parent d04b4c0eeb
commit 384aec0d03
8 changed files with 972 additions and 5 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ sin_addr:
};
bind(t->listen_sock, (struct sockaddr *)&addr, sizeof(addr));
AssertFatal(listen(t->listen_sock, 5) == 0, "");
struct epoll_event ev= {0};
struct epoll_event ev={0};
ev.events = EPOLLIN;
ev.data.fd = t->listen_sock;
AssertFatal(epoll_ctl(t->epollfd, EPOLL_CTL_ADD, t->listen_sock, &ev) != -1, "");