Home
last modified time | relevance | path

Searched refs:serverAddr (Results 1 – 1 of 1) sorted by relevance

/cts/suite/audio_quality/lib/src/
DClientSocket.cpp55 struct sockaddr_in serverAddr; in init() local
56 bzero((char*)&serverAddr, sizeof(serverAddr)); in init()
57 serverAddr.sin_family = AF_INET; in init()
58 serverAddr.sin_port = htons(port); in init()
59 if (inet_pton(AF_INET, hostIp, &serverAddr.sin_addr) != 1) { in init()
64 if (connect(mSocket, (struct sockaddr *)&serverAddr, sizeof(serverAddr)) < 0) { in init()