Show / Hide Table of Contents

# Namespace LiteNetLib

### Classes

#### ConnectionRequest

#### EventBasedNatPunchListener

#### EventBasedNetListener

#### InvalidPacketException

#### NatPunchModule

Module for UDP NAT Hole punching operations. Can be accessed from NetManager

#### NetConstants

Network constants. Can be tuned from sources for your purposes.

#### NetDebug

Static class for defining your own LiteNetLib logger instead of Console.WriteLine or Debug.Log if compiled with UNITY flag

#### NetManager

Main class for all network operations. Can be used as client and/or server.

#### NetPacketReader

#### NetPeer

Network peer. Main purpose is sending messages to specific peer.

#### NetStatistics

#### NetUtils

Some specific network utilities

#### TooBigPacketException

### Structs

#### DisconnectInfo

Additional information about disconnection

#### NetManager.NetPeerEnumerator

#### PooledPacket

### Interfaces

#### IDeliveryEventListener

#### INatPunchListener

#### INetEventListener

#### INetLogger

Interface to implement for your own logger

#### INtpEventListener

#### IPeerAddressChangedListener

### Enums

#### ConnectionState

Peer connection state

#### DeliveryMethod

Sending method type

#### DisconnectReason

Disconnect reason that you receive in OnPeerDisconnected event

#### LocalAddrType

Address type that you want to receive from NetUtils.GetLocalIp method

#### NatAddressType

#### NetLogLevel

#### UnconnectedMessageType

Type of message that you receive in OnNetworkReceiveUnconnected event