[riot-commits] [RIOT-OS/RIOT] c3849e: sock: tcp: fix sock_tcp_read() example

benpicco noreply at github.com
Wed Sep 22 20:59:02 CEST 2021


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

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

  Log Message:
  -----------
  sock: tcp: fix sock_tcp_read() example

sock_tcp_read() will return 0 if the connection was closed, we
need to check for this.


  Commit: b1af25d4c68d9ef243d3ab17527202d44353d7e7
      https://github.com/RIOT-OS/RIOT/commit/b1af25d4c68d9ef243d3ab17527202d44353d7e7
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

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

  Log Message:
  -----------
  Merge pull request #16743 from benpicco/net/sock/tcp-doc_fix

sock: tcp: fix sock_tcp_read() example


Compare: https://github.com/RIOT-OS/RIOT/compare/3e285a2c4aa7...b1af25d4c68d


More information about the commits mailing list