[riot-commits] [RIOT-OS/RIOT] 091e01: sock: tcp: fix Echo Server example

benpicco noreply at github.com
Tue Aug 10 14:41:58 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 091e013ff00b03132f60d64c4797eee8791d5a59
      https://github.com/RIOT-OS/RIOT/commit/091e013ff00b03132f60d64c4797eee8791d5a59
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M sys/include/net/sock/tcp.h

  Log Message:
  -----------
  sock: tcp: fix Echo Server example

The example has two errors:

 - `sock_tcp_accept()` expects a timeout parameter
 - `sock_tcp_stop_listen()` expects a pointer

with these fixed, the example actually compiles.


  Commit: 7991e713846a66d300c6b09e49b2c81e7946b8d9
      https://github.com/RIOT-OS/RIOT/commit/7991e713846a66d300c6b09e49b2c81e7946b8d9
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M sys/include/net/sock/tcp.h

  Log Message:
  -----------
  Merge pull request #16721 from benpicco/sock/tcp-fix_doc

sock: tcp: fix Echo Server example


Compare: https://github.com/RIOT-OS/RIOT/compare/72e7f0c051cf...7991e713846a


More information about the commits mailing list