Changeset 214 in Main
- Timestamp:
- Oct 3, 2024, 2:49:31 AM (6 weeks ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platform/vc6.mk
r212 r214 1 1 # $Id$ 2 3 PREFIX = C:/Tewi 2 4 3 5 CC = ../vc6.sh 4 6 AR = lib 5 AR_FLAGS = / out:7 AR_FLAGS = /nologo /out: 6 8 CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I ../Common -fPIC 7 9 LDFLAGS = -
trunk/Server/server.c
r213 r214 167 167 addresses[i].sin_family = AF_INET; 168 168 addresses[i].sin_addr.s_addr = INADDR_ANY; 169 addresses[i].sin_port = htons(config.ports[i] );169 addresses[i].sin_port = htons(config.ports[i] & 0xffff); 170 170 #else 171 171 addresses[i].sin6_family = AF_INET6; 172 172 addresses[i].sin6_addr = in6addr_any; 173 addresses[i].sin6_port = htons(config.ports[i] );173 addresses[i].sin6_port = htons(config.ports[i] & 0xffff); 174 174 #endif 175 175 if(bind(sock, (struct sockaddr*)&addresses[i], sizeof(addresses[i])) < 0) { … … 890 890 exit_thread(0); 891 891 #endif 892 ;892 return 0; 893 893 } 894 894 -
trunk/Server/version.c
r212 r214 14 14 #elif defined(__linux__) 15 15 "Linux" 16 #elif defined(__MINGW32__) || defined(_MSC_VER) 17 "Windows" 16 #elif defined(__MINGW32__) 17 "Windows-MinGW32" 18 #elif defined(_MSC_VER) 19 "Windows-MSVC" 18 20 #elif defined(__HAIKU__) 19 21 "Haiku"
Note:
See TracChangeset
for help on using the changeset viewer.