Searched refs:serverAddr (Results 1 – 3 of 3) sorted by relevance
245 sockaddr_in serverAddr; in SkTCPServer() local246 serverAddr.sin_family = AF_INET; in SkTCPServer()247 serverAddr.sin_addr.s_addr = INADDR_ANY; in SkTCPServer()248 serverAddr.sin_port = htons(port); in SkTCPServer()250 if (bind(fSockfd, (sockaddr*)&serverAddr, sizeof(serverAddr)) < 0) { in SkTCPServer()
90 InetAddress serverAddr = InetAddress.getByName(SERVER_IP); in connect()91 socket = new Socket(serverAddr, SERVER_PORT); in connect()
2101 func clientSessionCacheKey(serverAddr net.Addr, config *Config) string {2105 return serverAddr.String()