diff options
Diffstat (limited to 'app_example/perf-test')
-rw-r--r-- | app_example/perf-test/multi_tcp_epoll_app_Ser.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app_example/perf-test/multi_tcp_epoll_app_Ser.c b/app_example/perf-test/multi_tcp_epoll_app_Ser.c index 972c395..01d2cab 100644 --- a/app_example/perf-test/multi_tcp_epoll_app_Ser.c +++ b/app_example/perf-test/multi_tcp_epoll_app_Ser.c @@ -493,10 +493,9 @@ process_server_accept_thread (void *pArgv) bind (listenFd, (struct sockaddr *) &g_recv, sizeof (struct sockaddr))) { printf ("ERROR:bind failed. fd[%d] errno [%d]\n", listenFd, errno); - printf ("Info Bind Success, port %d IP:%s\n", ntohs (g_recv.sin_port), - inet_ntoa (*((struct in_addr *) &(g_recv.sin_addr.s_addr)))); close (listenFd); - return NULL; + //return NULL; + exit(-1); } else { |