12 instantiations of SocketAddress
System (12)
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
585
SocketAddress saddrv6 = new
SocketAddress
(AddressFamily.InterNetworkV6,
599
SocketAddress saddrv4 = new
SocketAddress
(AddressFamily.InterNetwork, SocketAddress.IPv4AddressSize);
net\System\Net\DNS.cs (1)
1145
sockaddr = new
SocketAddress
(pAddressInfo->ai_family, pAddressInfo->ai_addrlen);
net\System\Net\IPAddress.cs (2)
190
SocketAddress saddr = new
SocketAddress
(AddressFamily.InterNetworkV6, SocketAddress.IPv6AddressSize);
437
SocketAddress saddr = new
SocketAddress
(AddressFamily.InterNetworkV6, SocketAddress.IPv6AddressSize);
net\System\Net\IPEndPoint.cs (1)
130
return new
SocketAddress
(Address, Port);
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (1)
46
SocketAddress address = new
SocketAddress
(addr);
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (1)
119
SocketAddress sockAddress = new
SocketAddress
(family, addressLength);
net\System\Net\UnsafeNativeMethods.cs (4)
3169
SocketAddress v4address = new
SocketAddress
(AddressFamily.InterNetwork, SocketAddress.IPv4AddressSize);
3170
SocketAddress v6address = new
SocketAddress
(AddressFamily.InterNetworkV6, SocketAddress.IPv6AddressSize);
3197
SocketAddress v4address = new
SocketAddress
(AddressFamily.InterNetwork, SocketAddress.IPv4AddressSize);
3198
SocketAddress v6address = new
SocketAddress
(AddressFamily.InterNetworkV6, SocketAddress.IPv6AddressSize);
90 references to SocketAddress
System (89)
net\System\Net\_AutoWebProxyScriptHelper.cs (11)
578
SocketAddress
[] SockAddrIn6List = new
SocketAddress
[IPAddressStrings.Length];
585
SocketAddress
saddrv6 = new SocketAddress(AddressFamily.InterNetworkV6,
586
SocketAddress
.IPv6AddressSize);
599
SocketAddress
saddrv4 = new SocketAddress(AddressFamily.InterNetwork,
SocketAddress
.IPv4AddressSize);
645
Dictionary<IntPtr, KeyValuePair<
SocketAddress
, string> > UnmanagedToManagedMapping = new Dictionary<IntPtr, KeyValuePair<
SocketAddress
, string>>();
667
pSocketAddresses[i].iSockaddrLength =
SocketAddress
.IPv6AddressSize;
670
= new KeyValuePair<
SocketAddress
, string>(SockAddrIn6List[i], IPAddressStrings[i]);
691
KeyValuePair<
SocketAddress
, string> kv = UnmanagedToManagedMapping[lpSockAddr];
net\System\Net\DNS.cs (2)
1127
SocketAddress
sockaddr;
1198
SocketAddress
address = (new IPEndPoint(addr,0)).Serialize();
net\System\Net\EndPoint.cs (2)
39
public virtual
SocketAddress
Serialize() {
48
public virtual EndPoint Create(
SocketAddress
socketAddress) {
net\System\Net\IPAddress.cs (4)
190
SocketAddress
saddr = new SocketAddress(AddressFamily.InterNetworkV6,
SocketAddress
.IPv6AddressSize);
437
SocketAddress
saddr = new SocketAddress(AddressFamily.InterNetworkV6,
SocketAddress
.IPv6AddressSize);
net\System\Net\IPEndPoint.cs (2)
128
public override
SocketAddress
Serialize() {
136
public override EndPoint Create(
SocketAddress
socketAddress) {
net\System\Net\NetworkInformation\ping.cs (1)
683
SocketAddress
remoteAddr = ep.Serialize ();
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (1)
46
SocketAddress
address = new SocketAddress(addr);
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (2)
117
AddressFamily family = (addressLength >
SocketAddress
.IPv4AddressSize)
119
SocketAddress
sockAddress = new SocketAddress(family, addressLength);
net\System\Net\SocketAddress.cs (2)
242
SocketAddress
castedComparand = comparand as
SocketAddress
;
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (1)
51
SocketAddress
remoteSocketAddress = null;
net\System\Net\Sockets\_OverlappedAsyncResult.cs (6)
25
private
SocketAddress
m_SocketAddress;
26
private
SocketAddress
m_SocketAddressOriginal; // needed for partial BeginReceiveFrom/EndReceiveFrom completion
56
internal
SocketAddress
SocketAddress {
62
internal
SocketAddress
SocketAddressOriginal {
79
internal void SetUnmanagedStructures(byte[] buffer, int offset, int size,
SocketAddress
socketAddress, bool pinSocketAddress)
103
internal void SetUnmanagedStructures(byte[] buffer, int offset, int size,
SocketAddress
socketAddress, bool pinSocketAddress, ref OverlappedCache overlappedCache)
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (5)
25
internal
SocketAddress
SocketAddressOriginal;
26
internal
SocketAddress
m_SocketAddress;
58
internal
SocketAddress
SocketAddress {
73
internal void SetUnmanagedStructures(byte[] buffer, int offset, int size,
SocketAddress
socketAddress, SocketFlags socketFlags)
131
internal void SetUnmanagedStructures(byte[] buffer, int offset, int size,
SocketAddress
socketAddress, SocketFlags socketFlags, ref OverlappedCache overlappedCache)
net\System\Net\Sockets\Socket.cs (38)
106
private
SocketAddress
m_PermittedRemoteAddress;
228
SocketAddress
socketAddress = ep.Serialize();
405
SocketAddress
socketAddress = m_RightEndPoint.Serialize();
452
SocketAddress
socketAddress = m_RightEndPoint.Serialize();
909
SocketAddress
socketAddress = CallSerializeCheckDnsEndPoint(endPointSnapshot);
931
SocketAddress
socketAddress = SnapshotAndSerialize(ref endPointSnapshot);
937
private void DoBind(EndPoint endPointSnapshot,
SocketAddress
socketAddress)
1027
SocketAddress
socketAddress = CheckCacheRemote(ref endPointSnapshot, true);
1235
SocketAddress
socketAddress = m_RightEndPoint.Serialize();
1624
SocketAddress
socketAddress = CheckCacheRemote(ref endPointSnapshot, false);
1987
SocketAddress
socketAddress = SnapshotAndSerialize(ref endPointSnapshot);
1993
SocketAddress
socketAddressOriginal = endPointSnapshot.Serialize();
2095
SocketAddress
socketAddress = SnapshotAndSerialize(ref endPointSnapshot);
2096
SocketAddress
socketAddressOriginal = endPointSnapshot.Serialize();
2767
SocketAddress
socketAddress = CheckCacheRemote(ref endPointSnapshot, true);
2847
SocketAddress
socketAddress = SnapshotAndSerialize(ref endPointSnapshot);
2857
private void DoBeginConnect(EndPoint endPointSnapshot,
SocketAddress
socketAddress, LazyAsyncResult asyncResult)
3991
SocketAddress
socketAddress = CheckCacheRemote(ref endPointSnapshot, false);
4007
private void DoBeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint endPointSnapshot,
SocketAddress
socketAddress, OverlappedAsyncResult asyncResult)
4569
SocketAddress
socketAddress = SnapshotAndSerialize(ref remoteEP);
4680
SocketAddress
socketAddressOriginal = SnapshotAndSerialize(ref endPoint);
4800
SocketAddress
socketAddress = SnapshotAndSerialize(ref remoteEP);
4825
private void DoBeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint endPointSnapshot,
SocketAddress
socketAddress, OverlappedAsyncResult asyncResult)
4940
SocketAddress
socketAddressOriginal = SnapshotAndSerialize(ref endPoint);
5081
SocketAddress
socketAddress = m_RightEndPoint.Serialize();
5209
SocketAddress
socketAddress = null;
5857
private
SocketAddress
SnapshotAndSerialize(ref EndPoint remoteEP)
5871
private
SocketAddress
CallSerializeCheckDnsEndPoint(EndPoint remoteEP)
5894
private
SocketAddress
CheckCacheRemote(ref EndPoint remoteEP, bool isOverwrite)
5908
SocketAddress
socketAddress = CallSerializeCheckDnsEndPoint(remoteEP);
5911
SocketAddress
permittedRemoteAddress = m_PermittedRemoteAddress;
6175
SocketAddress
socketAddress = SnapshotAndSerialize(ref endPointSnapshot);
6179
private void DoConnect(EndPoint endPointSnapshot,
SocketAddress
socketAddress)
6882
SocketAddress
socketAddress = flowContext ? CheckCacheRemote(ref endPointSnapshot, true) : SnapshotAndSerialize(ref endPointSnapshot);
8648
internal
SocketAddress
m_SocketAddress;
8650
private
SocketAddress
m_PinnedSocketAddress;
9808
SocketAddress
remoteSocketAddress = m_CurrentSocket.m_RightEndPoint.Serialize();
9916
SocketAddress
socketAddressOriginal = m_RemoteEndPoint.Serialize();
net\System\Net\UnsafeNativeMethods.cs (12)
3169
SocketAddress
v4address = new SocketAddress(AddressFamily.InterNetwork,
SocketAddress
.IPv4AddressSize);
3170
SocketAddress
v6address = new SocketAddress(AddressFamily.InterNetworkV6,
SocketAddress
.IPv6AddressSize);
3197
SocketAddress
v4address = new SocketAddress(AddressFamily.InterNetwork,
SocketAddress
.IPv4AddressSize);
3198
SocketAddress
v6address = new SocketAddress(AddressFamily.InterNetworkV6,
SocketAddress
.IPv6AddressSize);
3277
private static void CopyOutAddress(IntPtr address, ref
SocketAddress
v4address, ref
SocketAddress
v6address)
3287
for (int index = 2; index <
SocketAddress
.IPv4AddressSize; index++)
3299
for (int index = 2; index <
SocketAddress
.IPv6AddressSize; index++)
System.Net (1)
AssemblyInfo.cs (1)
51
[assembly: TypeForwardedToAttribute(typeof(System.Net.
SocketAddress
))]