2016-05-11 22:36:12 +02:00
|
|
|
---
|
2016-09-01 15:19:01 +01:00
|
|
|
title: "Core API: TCP/UDP/SSL"
|
2016-05-11 22:36:12 +02:00
|
|
|
symbol_kind: "intro"
|
|
|
|
decl_name: "net.h"
|
2016-05-26 12:30:13 +02:00
|
|
|
items:
|
2016-09-01 15:19:01 +01:00
|
|
|
- { name: mg_add_sock.md }
|
|
|
|
- { name: mg_add_sock_opt.md }
|
|
|
|
- { name: mg_bind.md }
|
|
|
|
- { name: mg_bind_opt.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: mg_broadcast.md }
|
|
|
|
- { name: mg_check_ip_acl.md }
|
2016-09-01 15:19:01 +01:00
|
|
|
- { name: mg_connect.md }
|
|
|
|
- { name: mg_connect_opt.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: mg_enable_javascript.md }
|
|
|
|
- { name: mg_enable_multithreading.md }
|
|
|
|
- { name: mg_mgr_free.md }
|
|
|
|
- { name: mg_mgr_init.md }
|
2016-11-08 23:29:07 +01:00
|
|
|
- { name: mg_mgr_init_opt.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: mg_mgr_poll.md }
|
|
|
|
- { name: mg_next.md }
|
2016-09-01 15:19:01 +01:00
|
|
|
- { name: mg_printf.md }
|
2016-10-17 22:08:11 +03:00
|
|
|
- { name: mg_resolve.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: mg_send.md }
|
|
|
|
- { name: mg_set_ssl.md }
|
2016-09-01 15:19:01 +01:00
|
|
|
- { name: mg_set_timer.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: mg_socketpair.md }
|
2016-09-01 15:19:01 +01:00
|
|
|
- { name: mg_time.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: mg_vprintf.md }
|
2016-09-01 15:19:01 +01:00
|
|
|
- { name: mg_event_handler_t.md }
|
|
|
|
- { name: struct_mg_add_sock_opts.md }
|
|
|
|
- { name: struct_mg_bind_opts.md }
|
|
|
|
- { name: struct_mg_connect_opts.md }
|
2016-10-26 11:01:25 +03:00
|
|
|
- { name: struct_mg_connection.md }
|
|
|
|
- { name: struct_mg_mgr.md }
|
2016-11-08 23:29:07 +01:00
|
|
|
- { name: struct_mg_mgr_init_opts.md }
|
2016-09-12 15:09:35 +01:00
|
|
|
- { name: struct_mg_multithreading_opts.md }
|
2016-05-11 22:36:12 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
NOTE: Mongoose manager is single threaded. It does not protect
|
|
|
|
its data structures by mutexes, therefore all functions that are dealing
|
2016-07-21 18:11:25 +03:00
|
|
|
with a particular event manager should be called from the same thread,
|
|
|
|
with exception of the `mg_broadcast()` function. It is fine to have different
|
2016-05-11 22:36:12 +02:00
|
|
|
event managers handled by different threads.
|
|
|
|
|