ultramage
|
b1ccbcdba7
- Added ntows() to properly handle that client port number deficiency
|
18 anni fa |
toms
|
9f6d32d8de
Removed an ugly cast in socket.c
|
18 anni fa |
ultramage
|
24db1473f4
- Added function str2ip() to do platform-safe conversions
|
18 anni fa |
ultramage
|
8dc1b77f03
* Made a crazy attempt to at least partially synchronize login&char code
|
18 anni fa |
ultramage
|
a167b6ae62
* Some source code cleaning
|
18 anni fa |
FlavioJS
|
2b42ec13cf
- Added info on packet 0x86 (simple move packet). Not usable until a clear separation between entering sight/leaving sight/walking in sight is done.
|
18 anni fa |
skotlex
|
a0bfff19a1
- Removed delete_session from socket.h since it shouldn't be used by them.
|
18 anni fa |
ultramage
|
5625383530
More tweaks to socket.c to simplify the code
|
18 anni fa |
ultramage
|
49096125fb
Applied a consistent look to all header files (copyright, ifdefs)
|
18 anni fa |
ultramage
|
1aa9c5ceca
- Fixed the new socket code, which was triggering the inactivity timeout on the servers' listening sockets
|
18 anni fa |
ultramage
|
0729d61b56
* More aggressive cleaning up of the socket code
|
18 anni fa |
ultramage
|
3e4bef37b7
Wiped out the poorly written parse code from r2211
|
18 anni fa |
ultramage
|
148f3fca88
Cleaning up of the socket code
|
18 anni fa |
FlavioJS
|
c46f3cf135
- Removed deprecated console code.
|
18 anni fa |
FlavioJS
|
a7ee9a9961
- Cleaned up the ip rules/DDoS section of the code. (the allow,deny and deny,allow cases were switched)
|
18 anni fa |
FlavioJS
|
db02576357
- Now winsock 2 is required.
|
18 anni fa |
FlavioJS
|
63c6008744
ups... forgot to remove this before committing
|
18 anni fa |
FlavioJS
|
129bff5fb6
- Fixed FIFO defines in TURBO mode.
|
18 anni fa |
skotlex
|
58bb9be68a
- Cleaned up some more the code so it works for -DTURBO
|
18 anni fa |
FlavioJS
|
60e3d1b499
- Applied part 1 of TheUltraMage's socket cleanup.
|
18 anni fa |
FlavioJS
|
43256aa77e
- Cleanups or minor changes.
|
18 anni fa |
skotlex
|
0c362fa90f
- Modified flush_fifo so you can decide whether to block the current thread or not until the data is sent. The server-tick reply no longer blocks the current thread.
|
18 anni fa |
FlavioJS
|
b524f75cd0
- Reversed revision #9415 (messages with server_tick field being sent as soon as possible) since it didn't fix the client synchronization issue.
|
18 anni fa |
FlavioJS
|
0931ce5d81
- Messages with server_tick field are sent as soon as possible now.
|
18 anni fa |
FlavioJS
|
b522ca0cdc
- Replaced @send with the version I use for testing packets.
|
18 anni fa |
FlavioJS
|
636089bb3a
- Probably fixed the Segmentation Faults we've been having.
|
18 anni fa |
skotlex
|
cfee0ccf63
- Added all the missing FIFOHEADs in the login/sql servers (required for TURBO support)
|
18 anni fa |
skotlex
|
73379857e2
- Made WFIFOHEAD() check for available buffer size remaining on the connection, and when there's not enough space, it will increase it.
|
18 anni fa |
skotlex
|
c616fec871
- Improved a bit RFIFOFLUSH as suggested by Harbin.
|
18 anni fa |
skotlex
|
27c9a6fe5a
- Modified set_nonblocking and setsocketoptions in socket.c, using eApp's code as reference. Hopefully should improve performance somewhat.
|
18 anni fa |