• 0.1.1 4f41bdbb6f

    Bugfix Stable

    SpookyDervish released this 2026-07-10 13:02:27 +10:00 | 0 commits to main since this release

    • Added shutdown method to Socket struct
    • Added Shutdown enum to socket library
    • Multiple bugfixes
    • Added hostname resolution
    Downloads
  • 0.1.0 0042a9381b

    SpookyDervish released this 2026-07-10 11:54:35 +10:00 | 2 commits to main since this release

    The socket lib provides the following:

    • Family and Type enums for sockets
    • Socket struct with the following methods:
      • connect(string ip, int port) -> void
      • bind(string ip, int port) -> void
      • listen(int backlog) -> void
      • accept() -> Socket
      • read(int bytes) -> String
      • readAll() -> String
      • readExact(int bytes) -> String
      • readByte() -> small
      • send(string buffer) -> void
      • sendByte(small byte) -> void
      • close() -> void
      • setBlocking(bool blocking) -> void
      • setTimeout(int timeoutMs) -> void
      • setNoDelay(bool noDelay) -> void
      • setReuseAddress(bool reuseAddress) -> void
      • setKeepAlive(bool keepAlive) -> void
      • available() -> int
      • waitReadable(int timeoutMs) -> bool
      • waitWriteable(int timeoutMs) -> bool
    Downloads