| # | Line 206 | Line 206 | bool NetUDPSocket_Recieve(int socket, so | |
|---|---|---|
| 206 | ||
| 207 | } | |
| 208 | ||
| 209 | + | |
| 210 | + | |
| 211 | DWORD WINAPI StartServer(void* lol){ | |
| 212 | < | NetPlatform_Initalize(); |
| 213 | < | FLrServer_Run(); |
| 212 | > | if(NetPlatform_Initalize() && FlatlineInitialize()) |
| 213 | > | { |
| 214 | > | FLrServer_Run(); |
| 215 | > | } |
| 216 | return 0; | |
| 217 | } | |
| 218 | ||
| 219 | DWORD WINAPI StartClient(void* lol){ | |
| 220 | //NetPlatform_Initalize(); | |
| 221 | < | FLrClient_Run((flatline_packet*)lol); |
| 221 | > | if(FlatlineInitialize()) |
| 222 | > | { |
| 223 | > | FLrClient_Run((flatline_packet*)lol); |
| 224 | > | } |
| 225 | return 0; | |
| 226 | } | |
| 227 | void NetCatchError(){ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |