Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtsp_connection_fuzzer.cpp89 close(mServerFd); in ~RTSPConnectionFuzzer()
107 int32_t mServerFd; member in RTSPConnectionFuzzer
304 mServerFd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0); in startServer()
312 if (setsockopt(mServerFd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt))) { in startServer()
317 if (bind(mServerFd, (struct sockaddr*)(&serverAddress), sizeof(serverAddress)) < 0) { in startServer()
321 if (listen(mServerFd, 5) < 0) { in startServer()
327 int32_t clientFd = accept4(mServerFd, nullptr, nullptr, SOCK_CLOEXEC); in acceptConnection()