Searched refs:serv_addr (Results 1 – 1 of 1) sorted by relevance
77 struct sockaddr_in serv_addr; in test() local101 serv_addr.sin_family = AF_INET; in test()102 serv_addr.sin_port = htons(port); in test()104 if(inet_pton(AF_INET, libtest_arg2, &serv_addr.sin_addr) <= 0) { in test()109 status = connect(client_fd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)); in test()
Completed in 4 milliseconds