ยค openLSocketF

Sockets

Types

openLSocketF :: FudgetIO f => Port -> (LSocket -> f hi ho) -> f hi ho

Synopsis

openLSocketF server

type Port = Int

Description

openLSocketF creates a passive socket where a server listens for clients to connect.

Arguments

server :: Port
A server fudget.

See Also

Standard server fudget: socketServerF.

Connecting to a server: openSocketF.

Creating a passive socket with error handling: openLSocketErrF.