reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1244 memset(&servAddr, 0, sizeof(servAddr)); 1244 memset(&servAddr, 0, sizeof(servAddr)); 1245 servAddr.sin_family = PF_INET; 1248 memcpy(&servAddr.sin_addr.s_addr, src, server->h_length); 1249 servAddr.sin_port = htons(Port); 1250 if (connect(sockfd, reinterpret_cast<sockaddr*>(&servAddr), 1251 sizeof(servAddr)) < 0) {