Home
last modified time | relevance | path

Searched refs:AcceptSocket (Results 1 – 25 of 157) sorted by relevance

1234567

/dports/games/vavoom/vavoom-1.33/utils/master/
H A Dmain.cpp102 static int AcceptSocket = -1; // socket for fielding new connections variable
143 if (recvfrom(AcceptSocket, Buffer, MAX_MSGLEN, MSG_PEEK, NULL, NULL) < 0) in ReadNet()
196 sendto(AcceptSocket, Buffer, Len, 0, &clientaddr, sizeof(sockaddr)); in ReadNet()
225 AcceptSocket = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
226 if (AcceptSocket == -1) in main()
235 if (ioctlsocket(AcceptSocket, FIONBIO, (u_long*)&trueval) == -1) in main()
237 if (ioctl(AcceptSocket, FIONBIO, (char*)&trueval) == -1) in main()
240 closesocket(AcceptSocket); in main()
250 if (bind(AcceptSocket, (sockaddr*)&address, sizeof(address)) == -1) in main()
252 closesocket(AcceptSocket); in main()
[all …]
/dports/devel/eris/eris-1.3.23/bindings/polls/winsock/
H A DPollWinsock_impl.h83 SOCKET AcceptSocket = INVALID_SOCKET;
148 AcceptSocket = accept(ListenSocket, NULL, NULL);
149 if (AcceptSocket == INVALID_SOCKET) {
162 closesocket(AcceptSocket);
179 if (WSARecv(AcceptSocket, &DataBuf, 1, &RecvBytes, &Flags, &AcceptOverlapped, NULL) ==
202 WSAGetOverlappedResult(AcceptSocket, &AcceptOverlapped, &BytesTransferred, FALSE,
210 wprintf(L"Closing accept Socket %d\n", AcceptSocket);
212 closesocket(AcceptSocket);
221 WSASend(AcceptSocket, &DataBuf, 1, &RecvBytes, Flags, &AcceptOverlapped, NULL);
239 closesocket(AcceptSocket);
H A DPollWinsock.h79 SOCKET AcceptSocket = INVALID_SOCKET;
144 AcceptSocket = accept(ListenSocket, NULL, NULL);
145 if (AcceptSocket == INVALID_SOCKET) {
158 closesocket(AcceptSocket);
175 if (WSARecv(AcceptSocket, &DataBuf, 1, &RecvBytes, &Flags, &AcceptOverlapped, NULL) ==
198 WSAGetOverlappedResult(AcceptSocket, &AcceptOverlapped, &BytesTransferred, FALSE,
206 wprintf(L"Closing accept Socket %d\n", AcceptSocket);
208 closesocket(AcceptSocket);
217 WSASend(AcceptSocket, &DataBuf, 1, &RecvBytes, Flags, &AcceptOverlapped, NULL);
235 closesocket(AcceptSocket);
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.Sockets/
H A DSocketAcceptAsyncTest.cs33 asyncEventArgs = new SocketAsyncEventArgs {AcceptSocket = serverSocket}; in AcceptAsyncShouldUseAcceptSocketFromEventArgs()
36 acceptedSocket = e.AcceptSocket; in AcceptAsyncShouldUseAcceptSocketFromEventArgs()
50 acceptedSocket = asyncEventArgs.AcceptSocket; in AcceptAsyncShouldUseAcceptSocketFromEventArgs()
H A DTcpListenerTest.cs54 Socket inSock = inListener.AcceptSocket (); in TcpListener()
154 listener.AcceptSocket (); in PreStartStatus()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/ssl/test/
H A Dssl_test_lib.erl130 AcceptSocket;
133 AcceptSocket
140 AcceptSocket.
142 connect(_, _, 0, AcceptSocket, _, _, _) ->
143 AcceptSocket;
199 AcceptSocket.
951 [AcceptSocket, SslOptions]);
956 [AcceptSocket, SslOptions, TimeOut])
1029 [AcceptSocket, SslOptions]);
1034 [AcceptSocket, SslOptions, TimeOut])
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/ssl/test/
H A Dssl_test_lib.erl210 case server_apply_mfa(AcceptSocket, MFA) of
268 Result = Transport:close(AcceptSocket),
283 AcceptSocket;
286 AcceptSocket
291 AcceptSocket.
293 connect(_, _, 0, AcceptSocket, _, _, _) ->
294 AcceptSocket;
347 AcceptSocket.
427 _ = ssl:handshake(AcceptSocket, infinity),
1575 {ok, AcceptSocket} ->
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/ssl/test/
H A Dssl_test_lib.erl460 case server_apply_mfa(AcceptSocket, MFA) of
521 Result = Transport:close(AcceptSocket),
536 AcceptSocket;
539 AcceptSocket
544 AcceptSocket.
546 connect(_, _, 0, AcceptSocket, _, _, _) ->
547 AcceptSocket;
611 AcceptSocket.
641 _ = ssl:handshake(AcceptSocket, infinity),
1920 {ok, AcceptSocket} ->
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/ssl/test/
H A Dssl_test_lib.erl487 case server_apply_mfa(AcceptSocket, MFA) of
548 Result = Transport:close(AcceptSocket),
563 AcceptSocket;
566 AcceptSocket
571 AcceptSocket.
573 connect(_, _, 0, AcceptSocket, _, _, _) ->
574 AcceptSocket;
638 AcceptSocket.
668 _ = ssl:handshake(AcceptSocket, infinity),
1954 {ok, AcceptSocket} ->
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/ssl/test/
H A Dssl_test_lib.erl487 case server_apply_mfa(AcceptSocket, MFA) of
548 Result = Transport:close(AcceptSocket),
563 AcceptSocket;
566 AcceptSocket
571 AcceptSocket.
573 connect(_, _, 0, AcceptSocket, _, _, _) ->
574 AcceptSocket;
638 AcceptSocket.
668 _ = ssl:handshake(AcceptSocket, infinity),
1954 {ok, AcceptSocket} ->
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/ssl/test/
H A Dssl_test_lib.erl487 case server_apply_mfa(AcceptSocket, MFA) of
548 Result = Transport:close(AcceptSocket),
563 AcceptSocket;
566 AcceptSocket
571 AcceptSocket.
573 connect(_, _, 0, AcceptSocket, _, _, _) ->
574 AcceptSocket;
638 AcceptSocket.
668 _ = ssl:handshake(AcceptSocket, infinity),
1954 {ok, AcceptSocket} ->
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/ssl/test/
H A Dssl_test_lib.erl487 case server_apply_mfa(AcceptSocket, MFA) of
548 Result = Transport:close(AcceptSocket),
563 AcceptSocket;
566 AcceptSocket
571 AcceptSocket.
573 connect(_, _, 0, AcceptSocket, _, _, _) ->
574 AcceptSocket;
638 AcceptSocket.
668 _ = ssl:handshake(AcceptSocket, infinity),
1954 {ok, AcceptSocket} ->
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DSocketAsyncEventArgsPool.cs51 Socket socket = socketAsyncEventArgs.AcceptSocket; in CleanupAcceptSocket()
54 socketAsyncEventArgs.AcceptSocket = null; in CleanupAcceptSocket()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DTcpListenerTest.cs72 listener.AcceptSocket().Dispose(); in Pending_TrueWhenWaitingRequest()
84 Assert.Throws<InvalidOperationException>(() => listener.AcceptSocket()); in Accept_Invalid_Throws()
107 using (Socket s = listener.AcceptSocket()) in Accept_AcceptsPendingSocketOrClient()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Posix/Mono.Unix/
H A DUnixListener.cs88 public Socket AcceptSocket () in AcceptSocket() method in Mono.Unix.UnixListener
103 return new UnixClient (AcceptSocket ()); in AcceptUnixClient()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Net/Sockets/
H A DSocketTestServerAsync.cs136 acceptEventArg.AcceptSocket = null; in StartAccept()
204 ((AsyncUserToken)readEventArgs.UserToken).Socket = e.AcceptSocket; in ProcessAccept()
207 bool willRaiseEvent = e.AcceptSocket.ReceiveAsync(readEventArgs); in ProcessAccept()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Sockets/
H A DSocketAsyncResult.cs50 public Socket AcceptSocket; // AcceptReceive field in System.Net.Sockets.SocketAsyncResult
88 AcceptSocket = null; in Init()
H A DTcpListener.platformnotsupported.cs71 public Socket AcceptSocket () in AcceptSocket() method in System.Net.Sockets.TcpListener
H A DSocket.cs578 Socket acceptSocket = e.AcceptSocket; in AcceptAsync()
598 e.AcceptSocket = e.current_socket.EndAccept (ares);
604 if (e.AcceptSocket == null)
605 …e.AcceptSocket = new Socket (e.current_socket.AddressFamily, e.current_socket.SocketType, e.curren…
628 if (sockares.AcceptSocket == null) {
631 acc_socket = sockares.AcceptSocket;
669 AcceptSocket = acceptSocket, in BeginAccept()
682 if (sockares.AcceptSocket == null) {
685 acc_socket = sockares.AcceptSocket;
2723 if (e.AcceptSocket != null) { in InitSocketAsyncEventArgs()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/
H A DAcceptOverlappedAsyncResult.Unix.cs19 internal Socket AcceptSocket property in System.Net.Sockets.AcceptOverlappedAsyncResult
H A DAcceptOverlappedAsyncResult.Windows.cs115 internal Socket AcceptSocket property in System.Net.Sockets.AcceptOverlappedAsyncResult
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Common/Messaging/Rcon/
H A DServer.cs159 var newSocket = e.AcceptSocket; in ProcessAccept()
171 e.AcceptSocket = null; in ProcessAccept()
/dports/lang/mono/mono-5.10.1.57/mcs/class/test-helpers/
H A DSocketResponder.cs91 listenSocket = tcpListener.AcceptSocket (); in Listen()
/dports/lang/python311/Python-3.11.0a3/Modules/clinic/
H A Doverlapped.c.h624 HANDLE AcceptSocket);
631 HANDLE AcceptSocket; in _overlapped_Overlapped_AcceptEx() local
634 &ListenSocket, &AcceptSocket)) { in _overlapped_Overlapped_AcceptEx()
637 return_value = _overlapped_Overlapped_AcceptEx_impl(self, ListenSocket, AcceptSocket); in _overlapped_Overlapped_AcceptEx()
/dports/lang/python310/Python-3.10.1/Modules/clinic/
H A Doverlapped.c.h624 HANDLE AcceptSocket);
631 HANDLE AcceptSocket; in _overlapped_Overlapped_AcceptEx() local
634 &ListenSocket, &AcceptSocket)) { in _overlapped_Overlapped_AcceptEx()
637 return_value = _overlapped_Overlapped_AcceptEx_impl(self, ListenSocket, AcceptSocket); in _overlapped_Overlapped_AcceptEx()

1234567