Releases: Medo42/Faucet-Networking-Extension
Releases · Medo42/Faucet-Networking-Extension
Version 1.8
Version 1.7.1
Improved performance when opening a TCP connection if a literal IP address is given as host.
Version 1.7.0
- Fixed regression introduced during refactoring (write_buffer(x, x) could generate invalid results or potentially segfault)
- Changed socket binding behaviour. You will now get an error if a port is already in use.
- Added functions
tcp_listening_v4(acceptor)
andtcp_listening_v6(acceptor)
which can be used to find out if an acceptor is listening for IPv4/IPv6 connections, in case only one of these is working.
Version 1.6.0
- Added read_hex, write_hex, read_base64 and write_base64. These are mostly interesting for interoperability, e.g. to copy data from Faucet Net into Game Maker buffers, or to copy data from HTTP DLL 2 buffers into Faucet Net buffers.
- Added tcp_set_nodelay, which controls the use of Nagle's algorithm for a TCP socket
- Added read_delimited_string and read_cstring to simplify and speed up reading of delimited strings (e.g. comma-separated strings) and 0-terminated strings, respectively
- Added a new variant which has the prefix "fct_" in front of all function names. This prevents name clashes, e.g. with new functions introduced in Game Maker: Studio.
- Made the API thread-safe, though honestly I don't recommend mixing GM code and threading
V1.6.0-beta1
- Added functions for reading and writing hexadecimal strings
- Made all extension functions thread-safe to support GMThreads
Version 1.5.0
- Added UDP broadcast support (SO_BROADCAST is now set on all UDP sockets)
- Added udp_broadcast helper function for local broadcasts (see help.pdf)
- Bugfix: UDP sockets no longer break silently when you send to an unreachable port
- Bugfix: Fixed the return value of udp_send(buffer, host, port) to indicate is packets were discarded. Before, it always returned true on success, which was inconsistent with the documentation.