30 references to AsyncEventBits
System (30)
net\System\Net\_SafeNetHandles.cs (1)
2616
AsyncEventBits
.FdNone);
net\System\Net\Internal.cs (2)
593
errorCode = (SocketError)UnsafeNclNativeMethods.OSSOCK.WSAEventSelect(ipv4Socket, ipv4Socket.GetEventHandle().SafeWaitHandle,
AsyncEventBits
.FdAddressListChange);
616
errorCode = (SocketError)UnsafeNclNativeMethods.OSSOCK.WSAEventSelect(ipv6Socket, ipv6Socket.GetEventHandle().SafeWaitHandle,
AsyncEventBits
.FdAddressListChange);
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
308
errorCode = (SocketError)UnsafeNclNativeMethods.OSSOCK.WSAEventSelect(s_ipv4Socket, s_ipv4Socket.GetEventHandle().SafeWaitHandle,
AsyncEventBits
.FdAddressListChange);
336
errorCode = (SocketError)UnsafeNclNativeMethods.OSSOCK.WSAEventSelect(s_ipv6Socket, s_ipv6Socket.GetEventHandle().SafeWaitHandle,
AsyncEventBits
.FdAddressListChange);
net\System\Net\Sockets\Internal.cs (1)
116
public
AsyncEventBits
Events;
net\System\Net\Sockets\Socket.cs (21)
103
private
AsyncEventBits
m_BlockEventBits =
AsyncEventBits
.FdNone;
2871
if (!SetAsyncEventSelect(
AsyncEventBits
.FdConnect)){
3011
networkEvents.Events =
AsyncEventBits
.FdConnect;
5125
if (!SetAsyncEventSelect(
AsyncEventBits
.FdAccept))
5274
if (SetAsyncEventSelect(
AsyncEventBits
.FdAccept))
6271
AsyncEventBits
pendingAsync =
AsyncEventBits
.FdNone;
6272
if (m_BlockEventBits !=
AsyncEventBits
.FdNone)
6276
if (m_BlockEventBits ==
AsyncEventBits
.FdConnect)
6280
pendingAsync =
AsyncEventBits
.FdConnect;
6282
else if (m_BlockEventBits ==
AsyncEventBits
.FdAccept)
6286
pendingAsync =
AsyncEventBits
.FdAccept;
6398
if (pendingAsync ==
AsyncEventBits
.FdConnect)
6404
else if (pendingAsync ==
AsyncEventBits
.FdAccept)
7469
errorCode = UnsafeNclNativeMethods.OSSOCK.WSAEventSelect(m_Handle, IntPtr.Zero,
AsyncEventBits
.FdNone);
7507
private bool SetAsyncEventSelect(
AsyncEventBits
blockEventBits)
7510
GlobalLog.Assert(blockEventBits !=
AsyncEventBits
.FdNone, "Socket#{0}::SetAsyncEventSelect|Use UnsetAsyncEventSelect for FdNone.", ValidationHelper.HashString(this));
7511
GlobalLog.Assert(m_BlockEventBits ==
AsyncEventBits
.FdNone || m_BlockEventBits == blockEventBits, "Socket#{0}::SetAsyncEventSelect|Can't change from one active wait to another.", ValidationHelper.HashString(this));
7598
case
AsyncEventBits
.FdConnect:
7602
case
AsyncEventBits
.FdAccept:
net\System\Net\UnsafeNativeMethods.cs (3)
764
[In]
AsyncEventBits
NetworkEvents
1454
[In]
AsyncEventBits
NetworkEvents
1461
[In]
AsyncEventBits
NetworkEvents