| Revision: | 567 |
| Committed: | Fri Jun 25 03:52:34 2010 UTC (15 years, 5 months ago) by gumby |
| Content type: | text/x-csrc |
| File size: | 306 byte(s) |
| Log Message: | Daodan MSVC |
| # | Content |
|---|---|
| 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 |