tModLoader v2024.03
A mod to make and play Terraria mods
TcpAddress Class Reference

Inherits RemoteAddress.

Public Member Functions

 TcpAddress (IPAddress address, int port)
override string GetFriendlyName ()
override string GetIdentifier ()
override bool IsLocalHost ()
override string ToString ()
abstract string GetFriendlyName ()
abstract string GetIdentifier ()
abstract bool IsLocalHost ()

Public Attributes

IPAddress Address
int Port
- Public Attributes inherited from RemoteAddress
AddressType Type

Member Function Documentation

◆ GetFriendlyName()

override string TcpAddress.GetFriendlyName ( )

Implements RemoteAddress.

◆ GetIdentifier()

override string TcpAddress.GetIdentifier ( )

Implements RemoteAddress.

◆ IsLocalHost()

override bool TcpAddress.IsLocalHost ( )

Implements RemoteAddress.