5 writes to _protocolType
System.Net.Sockets (5)
System\Net\Sockets\Socket.cs (4)
99
_protocolType
= protocolType;
124
_protocolType
= ProtocolType.Unknown;
134
LoadSocketTypeFromHandle(handle, out _addressFamily, out _socketType, out
_protocolType
, out _willBlockInternal, out _isListening, out bool isSocket);
3793
socket.
_protocolType
= _protocolType;
System\Net\Sockets\Socket.Unix.cs (1)
283
_protocolType
= source._protocolType;
7 references to _protocolType
System.Net.Sockets (7)
System\Net\Sockets\Socket.cs (5)
484
return
_protocolType
;
813
_protocolType
,
2944
e.ConnectActivity = SocketsTelemetry.Log.ConnectStart(e._socketAddress!,
_protocolType
, endPointSnapshot, keepActivityCurrent: true);
3353
Activity? activity = SocketsTelemetry.Log.ConnectStart(socketAddress,
_protocolType
, endPointSnapshot, keepActivityCurrent: false);
3793
socket._protocolType =
_protocolType
;
System\Net\Sockets\Socket.Unix.cs (2)
154
SocketError errorCode = SocketPal.CreateSocket(_addressFamily, _socketType,
_protocolType
, out SafeSocketHandle newHandle);
283
_protocolType = source.
_protocolType
;