knightonline/server
Your Name a5cbfbc916 Fix critical Linux compilation errors for LoginServer
Major fixes implemented:
1. Added missing system headers (sys/time.h, sys/ioctl.h) for gettimeofday and ioctl
2. Resolved ODBC type conflicts by conditionally defining TCHAR and using compatible DWORD type
3. Added comprehensive Windows socket function mappings for Linux (WSAStartup, WSACleanup, etc.)
4. Fixed ListenSocket constructor to match expected interface with IsOpen() method
5. Fixed string_format parameter binding issue in LoginSession.cpp
6. Added platform-specific implementations in SocketMgr.cpp for Linux compatibility
7. Enhanced SocketOpsLinux.cpp with missing socket operations

Key improvements:
- Cross-platform socket initialization and cleanup
- Linux epoll-based socket management
- Compatible type definitions that work with both Linux and Windows ODBC
- Proper handling of temporary string objects in function calls
- Comprehensive error handling for missing Windows APIs on Linux

This should resolve the major compilation errors while maintaining Windows compatibility.
2025-08-29 22:25:15 +03:00
..
AIServer ilk commit 2025-08-19 15:55:41 +03:00
GameServer ilk commit 2025-08-19 15:55:41 +03:00
LogInServer Fix critical Linux compilation errors for LoginServer 2025-08-29 22:25:15 +03:00
N3BASE ilk commit 2025-08-19 15:55:41 +03:00
scripting ilk commit 2025-08-19 15:55:41 +03:00
shared Fix critical Linux compilation errors for LoginServer 2025-08-29 22:25:15 +03:00
KnightOnlineServer.sln ilk commit 2025-08-19 15:55:41 +03:00
Npc.cpp ilk commit 2025-08-19 15:55:41 +03:00