mmm-0.1.0.0: Minecraft 1.21.4 implementation in Haskell
Copyright(c) axionbuster 2025
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2021

M.IO.Internal.Socket

Description

Implements reliable duplex stream connections for the Java Minecraft protocol, handling encryption and compression.

Synopsis

Documentation

data Connection Source #

a connection to either a server or a client

Constructors

Connection 

Fields

withcxfromsocket :: Socket -> (Connection -> IO a) -> IO a Source #

create a connection from a socket