1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Cenk Gündoğan
b8a6d0e500 doc: sock: fix broken markdown link 2016-12-27 13:53:25 +01:00
2b1cd628a9 sys: net: sock: add uint32_t ipv4 address to address union 2016-11-13 12:18:12 +01:00
Martine Lenders
6d5fdbfa1c sock: document byte order for port 2016-10-31 10:53:26 +01:00
Martine Lenders
9e6b7e8dbf sock: change IPv4 address type to array 2016-10-31 10:53:26 +01:00
aace13624b sock: change "no timeout" value from 0 to UINT32_MAX 2016-10-12 15:19:16 +02:00
Martine Lenders
f4d39274fb sock: doc fixes 2016-10-04 17:22:54 +02:00
Martine Lenders
d17ef910f0 fixup! sock: Introduction of new application layer API
Include missing header
2016-09-02 18:59:34 +02:00
Martine Lenders
26ee7248d5 fixup! sock: Introduction of new application layer API
Fix inheritence of _sock_tl_ep.
2016-08-23 00:36:39 +02:00
Martine Lenders
877cad9d66 fixup! sock: Introduction of new application layer API
Simplify static intializers.
2016-08-22 22:28:19 +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
278f046d1d fixup! sock: Introduction of new application layer API
Don't use netif parameter for static IP end-point initializers
2016-08-20 02:35:47 +02:00
Martine Lenders
bb7736ac97 fixup! sock: Introduction of new application layer API 2016-08-19 17:43:42 +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
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