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