Skip to content

Commit

Permalink
Merge pull request #149 from tecnessino/master
Browse files Browse the repository at this point in the history
Use `NetworkDriver = new ENetDriver()` in `network-client-server.md`
  • Loading branch information
mafiesto4 authored Jul 1, 2024
2 parents 028dd2e + 14a1081 commit 33d0ec4
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 33d0ec4

Please sign in to comment.