mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15:37 +03:00
6a553122b1
* Module rewrite
- WinSock version changed from 1.1 to 2.2.
- Properly check for WinSock initialization on OnAmxxAttach/Detach.
- Now natives will not be added if we can't start up WinSock.
- socket_open() is now IP version agnostic (both IPv4 and IPv6 are
supported).
- Error reporting has been changed on socket_open(), a new parameter
called _libc_errors has been added, and, if enabled, libc errors will be
returned instead of the previous made-up errors.
- socket_close() now returns a value on success/failure.
- Added non-blocking sockets at socket_open_nb().
- Added socket_is_writable() to check if a socket is ready for write.
- Added socket_is_readable() as an alias to socket_change().
- Code rewritten to be more readable, it should be self-explaining now.
* Update docs and fix AMBuild
Updated documentation following the guidelines
* Fixs for the module
- Fixed the backwards compatibility with the return codes
- Merged socket_connect and socket_connect_nb
- Added a 5th parameter to socket_open that takes bit flags to enable
the new features (libc errors & nonblocking sockets)
- Fixed an error on socket_send2 that caused the buffet not to start
from the beginning if multiple calls were made
- Updated docs
- [docs] Prefixed error codes with SOCK_
- [docs] Added the new flags SOCK_NON_BLOCKING and SOCK_LIBC_ERRORS
- [docs] Added a new stock called SOCK_ERROR_EINPROGRESS(error) to be
used when checking if a newly created nonblocking socket is connecting
* Fixes for the docs
Fix some typos, shorten lines, document SOCK_ERROR_EINPROGRESS
* Document magic numbers
No more magic
* Revert "Document magic numbers"
This reverts commit
|
||
---|---|---|
.. | ||
amxconst.inc | ||
amxmisc.inc | ||
amxmodx_version.inc | ||
amxmodx.inc | ||
cellarray.inc | ||
cellstack.inc | ||
celltrie.inc | ||
core.inc | ||
csstats.inc | ||
cstrike_const.inc | ||
cstrike.inc | ||
csx.inc | ||
cvars.inc | ||
datapack.inc | ||
dbi.inc | ||
dodconst.inc | ||
dodfun.inc | ||
dodstats.inc | ||
dodx.inc | ||
engine_const.inc | ||
engine_stocks.inc | ||
engine.inc | ||
esf_const.inc | ||
esf.inc | ||
fakemeta_const.inc | ||
fakemeta_stocks.inc | ||
fakemeta_util.inc | ||
fakemeta.inc | ||
file.inc | ||
float.inc | ||
fun.inc | ||
gameconfig.inc | ||
geoip.inc | ||
ham_const.inc | ||
hamsandwich.inc | ||
hlsdk_const.inc | ||
lang.inc | ||
message_const.inc | ||
message_stocks.inc | ||
messages.inc | ||
newmenus.inc | ||
ns_const.inc | ||
ns.inc | ||
nvault.inc | ||
regex.inc | ||
sockets.inc | ||
sorting.inc | ||
sqlx.inc | ||
string.inc | ||
textparse_ini.inc | ||
textparse_smc.inc | ||
tfcconst.inc | ||
tfcstats.inc | ||
tfcx.inc | ||
time.inc | ||
tsconst.inc | ||
tsfun.inc | ||
tsstats.inc | ||
tsx.inc | ||
vault.inc | ||
vector.inc | ||
xs.inc |