Lines Matching refs:printf
41 printf("error: socket: %d\n", errno); in main()
48 printf("IPV6_V6ONLY option is on, turning it off.\n"); in main()
54 printf("Cannot turn off IPV6_V6ONLY option\n"); in main()
56 printf("Sharing same socket between IPv6 and IPv4\n"); in main()
62 printf("error: bind: %d\n", errno); in main()
67 printf("error: listen: %d\n", errno); in main()
71 printf("Single-threaded TCP echo server waits for a connection on " in main()
82 printf("error: accept: %d\n", errno); in main()
88 printf("Connection #%d from %s\n", counter++, addr_str); in main()
97 printf("error: recv: %d\n", errno); in main()
106 printf("error: send: %d\n", errno); in main()
116 printf("Connection from %s closed\n", addr_str); in main()