49 references to SocketType
System (39)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
675
Socket s = new Socket(AddressFamily.InterNetworkV6,
SocketType
.Stream, ProtocolType.Tcp);
net\System\Net\_OSSOCK.cs (1)
60
internal
SocketType
ai_socktype;
net\System\Net\_SafeNetHandles.cs (4)
2490
internal static SafeCloseSocket CreateWSASocket(AddressFamily addressFamily,
SocketType
socketType, ProtocolType protocolType)
2718
InnerSafeCloseSocket result = UnsafeNclNativeMethods.OSSOCK.WSASocket((AddressFamily) (-1),(
SocketType
) (-1),(ProtocolType) (-1), pinnedBuffer, 0, SocketConstructorFlags.WSA_FLAG_OVERLAPPED);
2725
internal static InnerSafeCloseSocket CreateWSASocket(AddressFamily addressFamily,
SocketType
socketType, ProtocolType protocolType)
2758
internal static SafeCloseSocketAndEvent CreateWSASocketWithEvent(AddressFamily addressFamily,
SocketType
socketType, ProtocolType protocolType, bool autoReset, bool signaled){
net\System\Net\Internal.cs (2)
559
ipv4Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.InterNetwork,
SocketType
.Dgram, (ProtocolType)0, true, false);
565
ipv6Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.InterNetworkV6,
SocketType
.Dgram, (ProtocolType)0, true, false);
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
259
s_ipv4Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.InterNetwork,
SocketType
.Dgram, (ProtocolType)0, true, false);
266
s_ipv6Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.InterNetworkV6,
SocketType
.Dgram, (ProtocolType)0, true, false);
net\System\Net\ServicePoint.cs (2)
246
socket = new Socket(AddressFamily.InterNetwork,
SocketType
.Stream,ProtocolType.Tcp);
250
socket6 = new Socket(AddressFamily.InterNetworkV6,
SocketType
.Stream,ProtocolType.Tcp);
net\System\Net\Sockets\_DynamicWinsockMethods.cs (3)
19
public static DynamicWinsockMethods GetMethods(AddressFamily addressFamily,
SocketType
socketType, ProtocolType protocolType)
41
private
SocketType
socketType;
55
private DynamicWinsockMethods(AddressFamily addressFamily,
SocketType
socketType, ProtocolType protocolType)
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
423
public MultipleSocketMultipleConnectAsync(
SocketType
socketType, ProtocolType protocolType)
net\System\Net\Sockets\NetworkStream.cs (1)
411
if (socket.SocketType !=
SocketType
.Stream) {
net\System\Net\Sockets\Socket.cs (10)
66
private
SocketType
socketType;
131
public Socket(
SocketType
socketType, ProtocolType protocolType)
141
public Socket(AddressFamily addressFamily,
SocketType
socketType, ProtocolType protocolType) {
187
socketType = (
SocketType
)protocolInfo.iSocketType;
283
socketType = Sockets.
SocketType
.Unknown;
599
public
SocketType
SocketType {
2956
return socketType ==
SocketType
.Stream &&
5996
SocketType
.Dgram,
6012
SocketType
.Dgram,
7867
public static bool ConnectAsync(
SocketType
socketType, ProtocolType protocolType, SocketAsyncEventArgs e) {
net\System\Net\Sockets\TCPClient.cs (3)
222
ipv4Socket = new Socket(AddressFamily.InterNetwork,
SocketType
.Stream, ProtocolType.Tcp);
225
ipv6Socket = new Socket(AddressFamily.InterNetworkV6,
SocketType
.Stream, ProtocolType.Tcp);
608
Client = new Socket(m_Family,
SocketType
.Stream, ProtocolType.Tcp);
net\System\Net\Sockets\TCPListener.cs (4)
39
m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily,
SocketType
.Stream, ProtocolType.Tcp);
58
m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily,
SocketType
.Stream, ProtocolType.Tcp);
79
m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily,
SocketType
.Stream, ProtocolType.Tcp);
213
m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily,
SocketType
.Stream, ProtocolType.Tcp);
net\System\Net\Sockets\UDPClient.cs (3)
339
ipv4Socket = new Socket(AddressFamily.InterNetwork,
SocketType
.Dgram, ProtocolType.Udp);
342
ipv6Socket = new Socket(AddressFamily.InterNetworkV6,
SocketType
.Dgram, ProtocolType.Udp);
1044
Client = new Socket(m_Family,
SocketType
.Dgram, ProtocolType.Udp);
net\System\Net\UnsafeNativeMethods.cs (2)
1023
[In]
SocketType
socketType,
1033
[In]
SocketType
socketType,
System.Net (1)
AssemblyInfo.cs (1)
60
[assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.
SocketType
))]
System.Runtime.Remoting (2)
channels\core\socketcache.cs (2)
144
SocketType
.Stream,
158
SocketType
.Stream,
System.ServiceModel (6)
System\ServiceModel\Channels\PeerIPHelper.cs (1)
445
this.ipv6Socket = new Socket(AddressFamily.InterNetworkV6,
SocketType
.Stream, ProtocolType.IP);
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
1899
registerQuery.CsAddrInfos[i].iSocketType = (int)
SocketType
.Stream;
System\ServiceModel\Channels\SocketConnection.cs (3)
1721
socket = new Socket(addressFamily,
SocketType
.Stream, ProtocolType.Tcp);
1877
this.socket = new Socket(addressFamily,
SocketType
.Stream, ProtocolType.Tcp);
2105
this.listenSocket = new Socket(localEndpoint.AddressFamily,
SocketType
.Stream, ProtocolType.Tcp);
System\ServiceModel\Channels\TcpChannelListener.cs (1)
314
Socket result = new Socket(localEndpoint.AddressFamily,
SocketType
.Stream, ProtocolType.Tcp);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
127
socket = new Socket(localEndpoint.AddressFamily,
SocketType
.Dgram, ProtocolType.Udp);