mg_bind.md 354 Bytes
Newer Older
1 2 3 4 5
---
title: "mg_bind()"
decl_name: "mg_bind"
symbol_kind: "func"
signature: |
6 7 8
  struct mg_connection *mg_bind(struct mg_mgr *mgr, const char *address,
                                MG_CB(mg_event_handler_t handler,
                                      void *user_data);
9 10
---

11
Creates a listening connection.
12 13 14

See `mg_bind_opt` for full documentation.