1 --- enigma-1.01/src/netgame.cc.orig 2010-12-24 12:30:24.360000068 +0200
2 +++ enigma-1.01/src/netgame.cc 2010-12-24 12:32:45.669000051 +0200
4 network_address.host = ENET_HOST_ANY;
5 network_address.port = 12345;
7 - network_host = enet_host_create (&network_address, 1, 0, 0);
8 + network_host = enet_host_create (&network_address, 1, 0, 0, 0);
9 if (network_host == NULL) {
11 "SV: An error occurred while trying to create an ENet server host.\n");
13 ENetHost *m_network_host;
14 m_network_host = enet_host_create (NULL,
15 1 /* only allow 1 outgoing connection */,
16 + 1 /* only allow 1 outgoing connection */,
17 57600 / 8 /* 56K modem with 56 Kbps downstream bandwidth */,
18 14400 / 8 /* 56K modem with 14 Kbps upstream bandwidth */);
22 /* Initiate the connection, allocating the two channels 0 and 1. */
24 - m_server = enet_host_connect (m_network_host, &sv_address, numchannels);
25 + m_server = enet_host_connect (m_network_host, &sv_address, numchannels, 57600);
27 if (m_server == NULL) {