Home
last modified time | relevance | path

Searched refs:closesocket (Results 1 – 25 of 76) sorted by relevance

1234

/reactos/modules/rosapps/applications/net/ncftp/sio/
H A DSClose.c25 return (closesocket(sfd)); in SClose()
42 return closesocket(sfd); in SClose()
57 if (closesocket(sfd) == 0) { in SClose()
72 (void) closesocket(sfd); in SClose()
100 return (closesocket(sfd)); in SClose()
121 (void) closesocket(sfd); in SClose()
147 (void) closesocket(sfd); in SClose()
172 (void) closesocket(sfd); in SClose()
198 (void) closesocket(sfd); in SClose()
215 return closesocket(sfd); in SClose()
H A DSNew.c45 (void) closesocket(sfd); in SNewStreamServer()
52 (void) closesocket(sfd); in SNewStreamServer()
75 (void) closesocket(sfd); in SNewDatagramServer()
H A Dsio.h107 #if !defined(WIN32) && !defined(_WINDOWS) && !defined(closesocket)
108 # define closesocket close macro
/reactos/sdk/lib/3rdparty/libxml2/
H A Dnanoftp.c79 #define closesocket(s) close(s) macro
1022 closesocket(ctxt->controlFd); in xmlNanoFTPConnect()
1045 closesocket(ctxt->controlFd); in xmlNanoFTPConnect()
1051 closesocket(ctxt->controlFd); in xmlNanoFTPConnect()
1062 closesocket(ctxt->controlFd); in xmlNanoFTPConnect()
1752 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET; in xmlNanoFTPList()
1757 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET; in xmlNanoFTPList()
1847 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET; in xmlNanoFTPGetSocket()
1852 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET; in xmlNanoFTPGetSocket()
2029 closesocket(ctxt->dataFd); in xmlNanoFTPClose()
[all …]
H A Dnanohttp.c86 #define closesocket(s) close(s) macro
438 if (ctxt->fd != INVALID_SOCKET) closesocket(ctxt->fd); in xmlNanoHTTPFreeCtxt()
923 closesocket(s); in xmlNanoHTTPConnectAttempt()
938 closesocket(s); in xmlNanoHTTPConnectAttempt()
979 closesocket(s); in xmlNanoHTTPConnectAttempt()
984 closesocket(s); in xmlNanoHTTPConnectAttempt()
1006 closesocket(s); in xmlNanoHTTPConnectAttempt()
1013 closesocket(s); in xmlNanoHTTPConnectAttempt()
1020 closesocket(s); in xmlNanoHTTPConnectAttempt()
/reactos/modules/rostests/apitests/ws2_32/
H A DWSAAsync.c62 closesocket(ServerSocket); in START_TEST()
68 closesocket(ClientSocket); in START_TEST()
69 closesocket(ServerSocket); in START_TEST()
76 closesocket(ClientSocket); in START_TEST()
77 closesocket(ServerSocket); in START_TEST()
162 closesocket(sockaccept); in START_TEST()
163 closesocket(ServerSocket); in START_TEST()
164 closesocket(ClientSocket); in START_TEST()
323 closesocket(sockaccept); in START_TEST()
324 closesocket(ServerSocket); in START_TEST()
[all …]
H A Dclose.c36 closesocket(sck); in Test_CloseDuplicatedSocket()
43 err = closesocket(sck); in Test_CloseDuplicatedSocket()
49 err = closesocket(dup_sck); in Test_CloseDuplicatedSocket()
117 err = closesocket(sock); in Test_CloseWhileSelectSameSocket()
158 closesocket(sock); in Test_CloseWhileSelectDuplicatedSocket()
165 err = closesocket(sock); in Test_CloseWhileSelectDuplicatedSocket()
169 err = closesocket(dup_sock); in Test_CloseWhileSelectDuplicatedSocket()
H A Dbind.c87 Error = closesocket(Socket); in TestBind()
117 Error = closesocket(Socket); in TestBind()
126 Error = closesocket(Socket); in TestBind()
185 closesocket(Socket); in START_TEST()
192 closesocket(Socket); in START_TEST()
199 closesocket(Socket); in START_TEST()
206 closesocket(Socket); in START_TEST()
213 closesocket(Socket); in START_TEST()
220 closesocket(Socket); in START_TEST()
H A Drecv.c119 closesocket(sck); in Test_recv()
218 ret = closesocket(ServerSocket); in Test_Overread()
240 closesocket(ClientSocket); in Test_Overread()
339 ret = closesocket(ServerSocket); in Test_Overread()
380 ret = closesocket(ListeningSocket); in Test_Overread()
385 ret = closesocket(ClientSocket); in Test_Overread()
390 ret = closesocket(ServerSocket); in Test_Overread()
H A Dnonblocking.c54 closesocket(ServerSocket); in START_TEST()
132 closesocket(sockaccept); in START_TEST()
133 closesocket(ServerSocket); in START_TEST()
134 closesocket(ClientSocket); in START_TEST()
H A Dsend.c106 closesocket(sock); in test_send()
165 closesocket(sock); in test_sendto()
H A Dws2_32.h31 closesocket(sck); \
H A Dopen_osfhandle.c59 closesocket(fd); in run_open_osfhandle()
/reactos/modules/rostests/tests/moztest/
H A Dmoztest.c150 closesocket(listenSock); in SocketTest()
152 closesocket(osfd[0]); in SocketTest()
153 closesocket(osfd[1]); in SocketTest()
161 closesocket(listenSock); in SocketTest()
164 closesocket(osfd[0]); in SocketTest()
167 closesocket(osfd[1]); in SocketTest()
/reactos/modules/rostests/winetests/ws2_32/
H A Dsock.c288 closesocket(*src); in tcp_socketpair()
289 closesocket(*dst); in tcp_socketpair()
338 closesocket(*src); in tcp_socketpair_ovl()
339 closesocket(*dst); in tcp_socketpair_ovl()
1571 closesocket(s); in test_set_getsockopt()
1605 closesocket(s); in test_set_getsockopt()
1642 closesocket(s); in test_set_getsockopt()
1871 closesocket(s); in test_set_getsockopt()
1872 closesocket(s2); in test_set_getsockopt()
2000 closesocket(s2); in test_so_reuseaddr()
[all …]
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dftp.c465 (void) closesocket(sockfd); in OpenControlConnection()
496 (void) closesocket(sockfd); in OpenControlConnection()
550 (void) closesocket(sockfd); in OpenControlConnection()
582 (void) closesocket(sockfd); in OpenControlConnection()
817 (void) closesocket(sockfd); in OpenControlConnection()
819 (void) closesocket(sock2fd); in OpenControlConnection()
1178 (void) closesocket(dataSocket);
1207 (void) closesocket(dataSocket);
1241 (void) closesocket(dataSocket);
1291 (void) closesocket(newSocket);
[all …]
/reactos/base/services/telnetd/
H A Dtelnetd.c169 closesocket(client->socket); in UserLoginThread()
178 closesocket(client->socket); in UserLoginThread()
184 closesocket(client->socket); in UserLoginThread()
194 closesocket(client->socket); in UserLoginThread()
202 closesocket(client->socket); in UserLoginThread()
219 closesocket(client->socket); in UserLoginThread()
482 closesocket(client->socket); in MonitorChildThread()
H A Dsyslog.c157 closesocket( sock ); in closelog()
210 closesocket( sock ); in openlog()
236 if( sock != INVALID_SOCKET ) closesocket( sock ); in openlog()
/reactos/base/applications/network/finger/
H A Dnet.c85 (void)closesocket(s); in netfinger()
131 (void)closesocket(s); in netfinger()
/reactos/dll/3rdparty/libtirpc/src/
H A Dclnt_generic.c438 (void)closesocket(fd); in clnt_tli_create()
463 closesocket(nfd);
467 if (closesocket(fd) == -1) {
/reactos/modules/rostests/winetests/winetest/
H A Dsend.c58 closesocket (s); in open_http()
69 ret = closesocket (s); in close_http()
/reactos/dll/win32/wininet/
H A Dftp.c375 closesocket(nDataSocket); in FTP_FtpPutFileW()
389 closesocket(lpwfs->lstnSocket); in FTP_FtpPutFileW()
879 closesocket(lpwfs->lstnSocket); in FTP_FtpFindFirstFileW()
1134 closesocket(lpwh->nDataSocket); in FTPFILE_Destroy()
1364 closesocket(lpwfs->lstnSocket); in FTP_FtpOpenFileW()
1718 closesocket(nDataSocket); in FTP_FtpGetFileW()
1733 closesocket(lpwfs->lstnSocket); in FTP_FtpGetFileW()
2367 closesocket(lpwfs->sndSocket); in FTPSESSION_CloseConnection()
2370 closesocket(lpwfs->lstnSocket); in FTPSESSION_CloseConnection()
2557 closesocket(nsocket); in FTP_Connect()
[all …]
/reactos/modules/rosapps/applications/net/netreg/
H A Dnetreg.cpp45 ~RequestHandler() { closesocket( socket ); } in ~RequestHandler()
425 closesocket( l ); return INVALID_SOCKET; in make_listening_socket()
429 closesocket( l ); in make_listening_socket()
/reactos/dll/win32/wsock32/
H A Dwsock32.spec3 3 stdcall closesocket(long) ws2_32.closesocket
/reactos/base/applications/network/ftp/
H A Dftp.c168 closesocket(cin); in hookup()
662 if(closesocket(dout)) { in sendrequest()
689 if(closesocket(dout)) { in sendrequest()
1017 if(closesocket(din)) { in recvrequest()
1113 if(closesocket(din)) { in recvrequest()
1251 (void) closesocket(data), data = -1; in dataconn()
1254 if(closesocket(data)) { in dataconn()

1234