| 73 | |
| 74 | static RefD<NetPeer> clientPeer; // NetPeer for enumerator and client. |
| 75 | |
| 76 | static RefD<NetPeer> serverPeer; // NetPeer for server. |
| 77 | |
| 78 | static NetPool* getPool() |
| 79 | // should be called inside of poolLock.enter() |
| 80 | { |
| 81 | if (!pool) |
| 82 | { |
| 83 | pool = new NetPool(new PeerChannelFactoryUDP, nullptr, nullptr); |
| 84 | } |
| 85 | return pool; |
| 86 | } |
no outgoing calls
no test coverage detected