Searched refs:sock2 (Results 1 - 1 of 1) sorted by relevance
/libmicro/ |
H A D | getpeername.c | 73 int sock2, sock3; local 75 sock2 = socket(AF_INET, SOCK_STREAM, 0); 76 if (sock2 == -1) { 81 if (setsockopt(sock2, SOL_SOCKET, SO_REUSEADDR, 100 if (bind(sock2, (struct sockaddr *)&adds, 111 if (listen(sock2, 5) == -1) { 135 sock = accept(sock2, (struct sockaddr *)&adds, &size);
|
Completed in 7 milliseconds