Class PacketKeyBuilder
Packet key builder aims to provide a 64 bits integer value to identify tcp streams and authority.
public static class PacketKeyBuilder
- Inheritance
-
PacketKeyBuilder
- Inherited Members
Methods
GetAuthorityKey(IPAddress, int)
public static long GetAuthorityKey(IPAddress address, int port)
Parameters
Returns
GetConnectionKey(TcpPacket, PhysicalAddress)
public static long GetConnectionKey(TcpPacket tcpPacket, PhysicalAddress physicalAddress)
Parameters
tcpPacket
TcpPacketphysicalAddress
PhysicalAddress
Returns
GetConnectionKey(int, int, IPAddress)
public static long GetConnectionKey(int localPort, int remotePort, IPAddress remoteAddress)