Browse Source

Merge pull request #6898 from rfuentess/udp_sock

sock/udp.h:  Minor fix to example
master
Martine Lenders 6 years ago committed by GitHub
parent
commit
9fc95504c8
  1. 2
      sys/include/net/sock/udp.h

2
sys/include/net/sock/udp.h

@ -224,7 +224,7 @@
* IPV6_ADDR_MCAST_SCP_LINK_LOCAL);
* if (sock_udp_send(&sock, "Hello!", sizeof("Hello!"), &remote) < 0) {
* puts("Error sending message");
* sock_udp_close();
* sock_udp_close(&sock);
* return 1;
* }
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Loading…
Cancel
Save