2 writes to iSockaddrLength
System.ServiceModel (2)
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
1255
socketAddress.
iSockaddrLength
= Marshal.SizeOf(typeof(sockaddr_in));
1265
socketAddress.
iSockaddrLength
= Marshal.SizeOf(typeof(sockaddr_in6));
5 references to iSockaddrLength
System.ServiceModel (5)
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
1110
native.LocalAddr.iSockaddrLength = input.LocalAddr.
iSockaddrLength
;
1112
native.RemoteAddr.iSockaddrLength = input.RemoteAddr.
iSockaddrLength
;
1207
target.saHint.iSockaddrLength = source.saHint.
iSockaddrLength
;
1256
socketAddress.lpSockAddr = CriticalAllocHandle.FromSize(socketAddress.
iSockaddrLength
);
1266
socketAddress.lpSockAddr = CriticalAllocHandle.FromSize(socketAddress.
iSockaddrLength
);