aboutsummaryrefslogtreecommitdiffstats
path: root/app_example/perf-test/multi_tcp_select_app_Ser.c
diff options
context:
space:
mode:
Diffstat (limited to 'app_example/perf-test/multi_tcp_select_app_Ser.c')
-rw-r--r--app_example/perf-test/multi_tcp_select_app_Ser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/app_example/perf-test/multi_tcp_select_app_Ser.c b/app_example/perf-test/multi_tcp_select_app_Ser.c
index fb20be9..c1afe62 100644
--- a/app_example/perf-test/multi_tcp_select_app_Ser.c
+++ b/app_example/perf-test/multi_tcp_select_app_Ser.c
@@ -319,13 +319,15 @@ 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 Failed, 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;
exit (-1);
}
else
{
- printf ("Info Bind Success, port %d IP:%s\n", ntohs (g_recv.sin_port),
+ 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))));
}