IPConnection

interface IPConnection

IPConnection Represents an active IP connection, providing details about the connection's state, local and foreign addresses, ports, and associated process information.

Author

N7ghtm4r3

See also

Inheritors

IPConnectionImpl

Properties

Link copied to clipboard

foreignAddress The foreign IP address (remote) of the connection as a byte array.

Link copied to clipboard
abstract val foreignPort: Int

foreignPort The foreign port number (remote) of the connection.

Link copied to clipboard
abstract val localAddress: ByteArray

localAddress The local IP address of the connection as a byte array.

Link copied to clipboard
abstract val localPort: Int

localPort The local port number of the connection.

Link copied to clipboard
abstract val owningProcessId: Int

owningProcessId The process ID of the process that owns the connection.

Link copied to clipboard
abstract val receiveQueue: Int

receiveQueue The length of the receipt queue for the connection.

Link copied to clipboard
abstract val state: TcpState

state The current state of the connection (e.g., ESTABLISHED, LISTENING).

Link copied to clipboard
abstract val transmitQueue: Int

transmitQueue The length of the transmit queue for the connection.

Link copied to clipboard
abstract val type: String

type The type of the connection (e.g., TCP, UDP).