Skip to content

Commit

Permalink
Use NetworkDriver = new ENetDriver() in network-client-server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tecnessino authored Jun 30, 2024
1 parent 028dd2e commit 14a1081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manual/networking/tutorials/network-client-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ServerScript : Script
{
_server = NetworkPeer.CreatePeer(new NetworkConfig
{
NetworkDriverType = NetworkDriverType.ENet,
NetworkDriver = new ENetDriver(),
ConnectionsLimit = 8,
MessagePoolSize = 1024,
MessageSize = 1400,
Expand Down Expand Up @@ -67,7 +67,7 @@ public class ClientScript : Script
{
_client = NetworkPeer.CreatePeer(new NetworkConfig
{
NetworkDriverType = NetworkDriverType.ENet,
NetworkDriver = new ENetDriver(),
ConnectionsLimit = 32,
MessagePoolSize = 256,
MessageSize = 1400,
Expand Down

0 comments on commit 14a1081

Please sign in to comment.