The TransportManager handles talking to the transports as well sending, receiving, and even customizing packets on the fly.
Description
The TransportManager in FishNet is a central component responsible for communicating with the underlying network transport to send and receive data. It acts as the bridge between FishNet’s networking system and the actual transport layer, enabling networked games to send/receive packets to and from clients and servers. There is also support for latency simulation for testing different network conditions.
With the TransportManager you can optionally utilize an intermediate layer to modify data before it’s sent or after it’s received (e.g., encryption, compression).
If you want to modify network data such as for encryption, or use any one of our number of transports, you will want to add this component to your NetworkManager game object.
Check out its API page for more specific methods and events here.
Settings
Default settings
⚙️Transport
This field indicates which transport to use. When left empty, the default transport (Tugboat) is used, or the first transport manually added to the object which the TransportManager resides.