Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dsockets.c232 if ((rfbScreen->udpSock = rfbListenOnUDPPort(rfbScreen->udpPort, iface)) < 0) { in rfbInitSockets()
238 FD_SET(rfbScreen->udpSock, &(rfbScreen->allFds)); in rfbInitSockets()
239 rfbScreen->maxFd = max((int)rfbScreen->udpSock,rfbScreen->maxFd); in rfbInitSockets()
268 if(rfbScreen->udpSock>-1) { in rfbShutdownSockets()
269 closesocket(rfbScreen->udpSock); in rfbShutdownSockets()
270 FD_CLR(rfbScreen->udpSock,&rfbScreen->allFds); in rfbShutdownSockets()
271 rfbScreen->udpSock=-1; in rfbShutdownSockets()
349 if ((rfbScreen->udpSock != -1) && FD_ISSET(rfbScreen->udpSock, &fds)) { in rfbCheckFds()
352 if (recvfrom(rfbScreen->udpSock, buf, 1, MSG_PEEK, in rfbCheckFds()
367 if (connect(rfbScreen->udpSock, in rfbCheckFds()
[all …]
Dmain.c834 screen->udpSock=-1; in rfbGetScreen()
Drfbserver.c523 rfbNewTCPOrUDPClient(rfbScreen,rfbScreen->udpSock,TRUE))); in rfbNewUDPClient()
3552 if ((n = read(rfbScreen->udpSock, (char *)&msg, sizeof(msg))) <= 0) { in rfbProcessUDPInput()
/external/libvncserver/rfb/
Drfb.h281 SOCKET udpSock; member