Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Martine Lenders
bd533dd785
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 12:33:01 +01:00
Martine Lenders
b9330d462b
sock: Some formatting fixes
...
Follow-up on #5929
2016-10-12 17:55:48 +02:00
Martine Lenders
8c56c9031b
Merge pull request #5929 from kaspar030/sock_change_no_timeout_value
...
sock: change "no timeout" value from 0 to UINT32_MAX
2016-10-12 16:08:03 +02:00
aace13624b
sock: change "no timeout" value from 0 to UINT32_MAX
2016-10-12 15:19:16 +02:00
Martine Lenders
d4ba3bd184
sock: doc fixes
2016-10-11 10:24:45 +02:00
Martine Lenders
6c1e805f9e
sock: define behavior on invalid addresses
2016-10-06 21:56:19 +02:00
Martine Lenders
f4d39274fb
sock: doc fixes
2016-10-04 17:22:54 +02:00
Martine Lenders
09703e1fdf
fixup! sock: Introduction of new application layer API
...
Add more error classes
2016-09-02 19:02:33 +02:00
Martine Lenders
73861e2c15
fixup! sock: Introduction of new application layer API
...
Fix some typos
2016-08-25 17:55:11 +02:00
Martine Lenders
ce205afc57
fixup! sock: Introduction of new application layer API
...
sock_ip: Provide proto parameter to send in case sock == NULL.
2016-08-25 16:02:47 +02:00
Martine Lenders
1f74eae424
fixup! sock: Introduction of new application layer API
...
Fix some typedefs
2016-08-22 17:03:52 +02:00
Martine Lenders
a41bc13767
fixup! sock: Introduction of new application layer API
...
Reword confusing out-parameter doc in create functions
2016-08-20 02:39:58 +02:00
Martine Lenders
b24d9de9ae
fixup! sock: Introduction of new application layer API
2016-08-19 17:36:58 +02:00
Martine Lenders
01b0975072
fixup! sock: Introduction of new application layer API
2016-08-19 16:52:06 +02:00
Martine Lenders
6f06deff40
fixup! sock: Introduction of new application layer API
2016-08-19 16:17:35 +02:00
Martine Lenders
b71c2f334a
fixup! sock: Introduction of new application layer API
2016-08-19 15:27:15 +02:00
Martine Lenders
7ef177a8cb
sock: Introduction of new application layer API
...
This introduces a new alternative and better API to `conn`. It differs in the
following aspects:
* a common address type for both IPv4 and IPv6 addresses is introduced
* communication end-points are abstracted as end-point types `sock_x_ep_t`,
containing the address, its family, its port (if required for protocol) and
the interface identifier.
* All functions require some kind of state. Sending of datagrams to the same
source or replying to incoming datagrams is thus simplified
* TCP connection establishment was overall reworked: connected sockets and
listening sockets are now two distinct types. An accept on a listening socket
than yields a connected socket
2016-08-18 12:25:41 +02:00