Statistics
| Branch: | Tag: | Revision:

mongoose / docs / c-api / net.h / intro.md @ 707b9ed2

History | View | Annotate | Download (1.29 KB)

1
---
2
title: "Core API: TCP/UDP/SSL"
3
symbol_kind: "intro"
4
decl_name: "net.h"
5
items:
6
  - { name: mg_add_sock.md }
7
  - { name: mg_add_sock_opt.md }
8
  - { name: mg_bind.md }
9
  - { name: mg_bind_opt.md }
10
  - { name: mg_broadcast.md }
11
  - { name: mg_check_ip_acl.md }
12
  - { name: mg_connect.md }
13
  - { name: mg_connect_opt.md }
14
  - { name: mg_enable_javascript.md }
15
  - { name: mg_mgr_free.md }
16
  - { name: mg_mgr_init.md }
17
  - { name: mg_mgr_init_opt.md }
18
  - { name: mg_mgr_poll.md }
19
  - { name: mg_next.md }
20
  - { name: mg_printf.md }
21
  - { name: mg_resolve.md }
22
  - { name: mg_send.md }
23
  - { name: mg_set_ssl.md }
24
  - { name: mg_set_timer.md }
25
  - { name: mg_socketpair.md }
26
  - { name: mg_time.md }
27
  - { name: mg_vprintf.md }
28
  - { name: mg_event_handler_t.md }
29
  - { name: struct_mg_add_sock_opts.md }
30
  - { name: struct_mg_bind_opts.md }
31
  - { name: struct_mg_connect_opts.md }
32
  - { name: struct_mg_connection.md }
33
  - { name: struct_mg_mgr.md }
34
  - { name: struct_mg_mgr_init_opts.md }
35
---
36

    
37
NOTE: Mongoose manager is single threaded. It does not protect
38
its data structures by mutexes, therefore all functions that are dealing
39
with a particular event manager should be called from the same thread,
40
with exception of the `mg_broadcast()` function. It is fine to have different
41
event managers handled by different threads.
42