Searched refs:their_fd (Results 1 – 5 of 5) sorted by relevance
/dports/www/srt/srt-1.4.4/examples/ |
H A D | test-c-server-bonding.c | 100 SRTSOCKET their_fd = SRT_INVALID_SOCK; // declared early because of gotos in main() local 178 their_fd = srt_accept(ss, (struct sockaddr *)&their_addr, &addr_size); in main() 180 if (their_fd == -1) in main() 186 printf("accepted socket: @%d\n", their_fd); in main() 191 int isgroup = their_fd & SRTGROUP_MASK; in main() 195 fprintf(stderr, "srt_accept: Accepted @%d is not a group???\n", their_fd); in main() 205 srt_epoll_add_usock(eid, their_fd, &read_modes); in main() 225 if (!WaitForReadReady(eid, their_fd)) in main() 229 st = srt_recvmsg2(their_fd, msg, sizeof msg, &mc); in main() 264 st = srt_close(their_fd); // just for a case; broken socket should be wiped out anyway in main()
|
H A D | test-c-server.c | 77 int their_fd = srt_accept(ss, (struct sockaddr *)&their_addr, &addr_size); in main() local 84 st = srt_recvmsg(their_fd, msg, sizeof msg); in main()
|
/dports/net/honeyd/honeyd-1.5c/ |
H A D | honeyd_overload.c | 192 int their_fd; member 327 nfd->their_fd = pair[1]; in newsock_fd() 347 nfd->their_fd = (*libc_dup)(ofd->their_fd); in clone_fd() 348 if (nfd->their_fd == -1) { in clone_fd() 387 (*libc_close)(nfd->their_fd); in free_fd() 480 (*libc_close)(nfd->their_fd); in listen() 481 nfd->their_fd = -1; in listen() 660 send_fd(pair[0], nfd->their_fd, NULL, 0); in connect() 682 (*libc_close)(nfd->their_fd); in connect() 683 nfd->their_fd = -1; in connect() [all …]
|
/dports/emulators/hercules/hercules-3.13/ |
H A D | w32util.h | 201 W32_DLL_IMPORT FILE* w32_fdopen ( int their_fd, const char* their_mode );
|
H A D | w32util.c | 2104 DLL_EXPORT FILE* w32_fdopen( int their_fd, const char* their_mode ) in w32_fdopen() argument 2133 if ( !socket_is_socket( their_fd ) ) in w32_fdopen() 2134 return _fdopen( their_fd, their_mode ); in w32_fdopen() 2159 if ( ( new_fd = _open_osfhandle( their_fd, new_flags ) ) < 0 ) in w32_fdopen()
|