Skip to content

Releases: Medo42/Faucet-Networking-Extension

Version 1.8

01 Sep 20:52
Compare
Choose a tag to compare

Added new functions write_binary_string, read_binary_string and read_delimited_binary_string which improve on their existing (now deprecated) non-binary counterparts by accepting and returning strings which contain 0-bytes.

Version 1.7.1

30 Jan 00:04
Compare
Choose a tag to compare

Improved performance when opening a TCP connection if a literal IP address is given as host.

Version 1.7.0

01 Nov 16:40
Compare
Choose a tag to compare
  • 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) and tcp_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

19 Feb 22:10
Compare
Choose a tag to compare
  • 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

10 Dec 21:10
Compare
Choose a tag to compare
V1.6.0-beta1 Pre-release
Pre-release
  • Added functions for reading and writing hexadecimal strings
  • Made all extension functions thread-safe to support GMThreads

Version 1.5.0

01 Sep 18:29
Compare
Choose a tag to compare
  • 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.