Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 225 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 225 Bytes

Select Server

Usage

bool handler(SelectCTX *ctx)
{
    write(1, ctx->buffer, ctx->sz);
    return true; /* on success */
}

int main()
{
    Server *server = newServer(1234, handler);
    ServerLoop(server);
}