WPILibC++ 2023.4.3-108-ge5452e3
NT_ConnectionInfo Struct Reference

NetworkTables Connection Information. More...

#include <ntcore_c.h>

Public Attributes

struct NT_String remote_id
 The remote identifier (as set on the remote node by NT_StartClient4(). More...
 
struct NT_String remote_ip
 The IP address of the remote node. More...
 
unsigned int remote_port
 The port number of the remote node. More...
 
uint64_t last_update
 The last time any update was received from the remote node (same scale as returned by nt::Now()). More...
 
unsigned int protocol_version
 The protocol version being used for this connection. More...
 

Detailed Description

NetworkTables Connection Information.

Member Data Documentation

◆ last_update

uint64_t NT_ConnectionInfo::last_update

The last time any update was received from the remote node (same scale as returned by nt::Now()).

◆ protocol_version

unsigned int NT_ConnectionInfo::protocol_version

The protocol version being used for this connection.

This in protocol layer format, so 0x0200 = 2.0, 0x0300 = 3.0).

◆ remote_id

struct NT_String NT_ConnectionInfo::remote_id

The remote identifier (as set on the remote node by NT_StartClient4().

◆ remote_ip

struct NT_String NT_ConnectionInfo::remote_ip

The IP address of the remote node.

◆ remote_port

unsigned int NT_ConnectionInfo::remote_port

The port number of the remote node.


The documentation for this struct was generated from the following file: