mongoose/docs/c-api/net.h/mg_connect.md
Dmitry Frank 0fc3370859 First step towards separate userdata argument
PUBLISHED_FROM=93fe1cc2c5e2513509511a81e5919cbd37056b10
2017-03-15 00:52:59 +00:00

15 lines
369 B
Markdown

---
title: "mg_connect()"
decl_name: "mg_connect"
symbol_kind: "func"
signature: |
struct mg_connection *mg_connect(struct mg_mgr *mgr, const char *address,
MG_CB(mg_event_handler_t handler,
void *user_data);
---
Connects to a remote host.
See `mg_connect_opt()` for full documentation.