1 type derived from SafeCloseSocket
System (1)
net\System\Net\_SafeNetHandles.cs (1)
2747
internal sealed class SafeCloseSocketAndEvent:
SafeCloseSocket
{
1 instantiation of SafeCloseSocket
System (1)
net\System\Net\_SafeNetHandles.cs (1)
2445
SafeCloseSocket ret = new
SafeCloseSocket
();
82 references to SafeCloseSocket
System (82)
net\System\Net\_SafeNetHandles.cs (11)
710
private
SafeCloseSocket
_socketHandle;
724
public static SafeOverlappedFree Alloc(
SafeCloseSocket
socketHandle) {
744
SafeCloseSocket
socketHandle = _socketHandle;
2443
private static
SafeCloseSocket
CreateSocket(InnerSafeCloseSocket socket)
2445
SafeCloseSocket
ret = new SafeCloseSocket();
2450
protected static void CreateSocket(InnerSafeCloseSocket socket,
SafeCloseSocket
target)
2485
internal unsafe static
SafeCloseSocket
CreateWSASocket(byte* pinnedBuffer)
2490
internal static
SafeCloseSocket
CreateWSASocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
2495
internal static
SafeCloseSocket
Accept(
2496
SafeCloseSocket
socketHandle,
2734
internal static InnerSafeCloseSocket Accept(
SafeCloseSocket
socketHandle, byte[] socketAddress, ref int socketAddressSize)
net\System\Net\ServicePoint.cs (1)
1463
SafeCloseSocket
safeHandle = attemptSocket.SafeHandle;
net\System\Net\Sockets\_DynamicWinsockMethods.cs (14)
63
public T GetDelegate<T>(
SafeCloseSocket
socketHandle) where T: class
111
private IntPtr LoadDynamicFunctionPointer(
SafeCloseSocket
socketHandle, ref Guid guid)
139
private void EnsureAcceptEx(
SafeCloseSocket
socketHandle)
155
private void EnsureGetAcceptExSockaddrs(
SafeCloseSocket
socketHandle)
172
private void EnsureConnectEx(
SafeCloseSocket
socketHandle)
188
private void EnsureDisconnectEx(
SafeCloseSocket
socketHandle)
206
private void EnsureWSARecvMsg(
SafeCloseSocket
socketHandle)
224
private void EnsureTransmitPackets(
SafeCloseSocket
socketHandle)
244
SafeCloseSocket
listenSocketHandle,
245
SafeCloseSocket
acceptSocketHandle,
267
SafeCloseSocket
socketHandle,
276
internal delegate bool DisconnectExDelegate(
SafeCloseSocket
socketHandle, SafeHandle overlapped, int flags, int reserved);
283
SafeCloseSocket
socketHandle,
299
SafeCloseSocket
socketHandle,
net\System\Net\Sockets\Socket.cs (20)
38
private
SafeCloseSocket
m_Handle;
145
m_Handle =
SafeCloseSocket
.CreateWSASocket(
183
m_Handle =
SafeCloseSocket
.CreateWSASocket(pinnedBuffer);
262
private Socket(
SafeCloseSocket
fd) {
493
internal
SafeCloseSocket
SafeHandle {
1238
SafeCloseSocket
acceptedSocketHandle =
SafeCloseSocket
.Accept(
5088
SafeCloseSocket
acceptedSocketHandle = null;
5091
acceptedSocketHandle =
SafeCloseSocket
.Accept(
5210
SafeCloseSocket
acceptedSocket = null;
5245
acceptedSocket =
SafeCloseSocket
.Accept(
5702
private bool AcceptEx(
SafeCloseSocket
listenSocketHandle,
5703
SafeCloseSocket
acceptSocketHandle,
5746
private bool DisconnectEx(
SafeCloseSocket
socketHandle, SafeHandle overlapped, int flags, int reserved)
5762
private bool ConnectEx(
SafeCloseSocket
socketHandle,
5776
private SocketError WSARecvMsg(
SafeCloseSocket
socketHandle, IntPtr msg, out int bytesTransferred, SafeHandle overlapped, IntPtr completionRoutine)
5792
private bool TransmitPackets(
SafeCloseSocket
socketHandle, IntPtr packetArray, int elementCount, int sendSize, SafeNativeOverlapped overlapped, TransmitFileOptions flags)
5993
SafeCloseSocket
.InnerSafeCloseSocket socketV4 =
6009
SafeCloseSocket
.InnerSafeCloseSocket socketV6 =
7322
private Socket CreateAcceptSocket(
SafeCloseSocket
fd, EndPoint remoteEP, bool needCancelSelect) {
net\System\Net\UnsafeNativeMethods.cs (36)
739
internal static extern
SafeCloseSocket
.InnerSafeCloseSocket accept(
1021
internal static extern
SafeCloseSocket
.InnerSafeCloseSocket WSASocket(
1031
internal unsafe static extern
SafeCloseSocket
.InnerSafeCloseSocket WSASocket(
1050
[In]
SafeCloseSocket
socketHandle,
1075
[In]
SafeCloseSocket
socketHandle,
1082
[In]
SafeCloseSocket
socketHandle,
1091
[In]
SafeCloseSocket
socketHandle,
1100
[In]
SafeCloseSocket
socketHandle,
1109
[In]
SafeCloseSocket
socketHandle,
1121
[In]
SafeCloseSocket
socketHandle,
1130
[In]
SafeCloseSocket
socketHandle,
1139
[In]
SafeCloseSocket
socketHandle,
1148
[In]
SafeCloseSocket
socketHandle,
1158
[In]
SafeCloseSocket
socketHandle,
1167
[In]
SafeCloseSocket
socketHandle,
1179
[In]
SafeCloseSocket
socketHandle,
1190
[In]
SafeCloseSocket
socket,
1201
[In]
SafeCloseSocket
socket,
1255
[In]
SafeCloseSocket
socketHandle,
1261
[In]
SafeCloseSocket
socketHandle,
1268
[In]
SafeCloseSocket
socketHandle,
1296
[In]
SafeCloseSocket
socketHandle,
1334
[In]
SafeCloseSocket
socketHandle,
1345
[In]
SafeCloseSocket
socketHandle,
1367
[In]
SafeCloseSocket
socketHandle,
1380
[In]
SafeCloseSocket
socketHandle,
1393
[In]
SafeCloseSocket
socketHandle,
1404
[In]
SafeCloseSocket
socketHandle,
1426
[In]
SafeCloseSocket
socketHandle,
1439
[In]
SafeCloseSocket
socketHandle,
1452
[In]
SafeCloseSocket
socketHandle,
1459
[In]
SafeCloseSocket
socketHandle,
1468
[In]
SafeCloseSocket
socketHandle,
1507
[In]
SafeCloseSocket
socketHandle,
1515
[In]
SafeCloseSocket
socketHandle,
1523
[In]
SafeCloseSocket
socketHandle,