source:
Daodan/MSVC/testserver.c@
899
| Last change on this file since 899 was 567, checked in by , 15 years ago | |
|---|---|
| File size: 306 bytes | |
| Rev | Line | |
|---|---|---|
| [567] | 1 | #include "Flatline.h" |
| 2 | #include <windows.h> | |
| 3 | ||
| 4 | DWORD WINAPI StartServer(void* lol){ | |
| 5 | FLrServer_Run(); | |
| 6 | return 0; | |
| 7 | } | |
| 8 | ||
| 9 | int main() | |
| 10 | { | |
| 11 | NetPlatform_Initalize(); | |
| 12 | ||
| 13 | CreateThread(NULL, 0, StartServer, NULL, 0, 0); | |
| 14 | ||
| 15 | NetPlatform_Shutdown(); | |
| 16 | return 0; | |
| 17 | } | |
| 18 | // 27777 and neighbouring ports are unassigned |
Note:
See TracBrowser
for help on using the repository browser.
