File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 77********
88
99The sockets/echo sample application for Zephyr implements an IPv4 TCP echo
10- server using a BSD Sockets like API. The purpose of this sample is to show
11- how it's possible to develop a sockets application portable to both POSIX
12- and Zephyr. As such, it is kept minimal and supports only IPv4 and TCP.
10+ server using a BSD Sockets compatible API. The purpose of this sample is to
11+ show how it's possible to develop a sockets application portable to both
12+ POSIX and Zephyr. As such, it is kept minimal and supports only IPv4 and TCP.
1313
1414The source code for this sample application can be found at:
1515:file: `samples/net/sockets/echo `.
@@ -53,8 +53,8 @@ Running application on POSIX Host
5353=================================
5454
5555The same application source code can be built for a POSIX system, e.g.
56- Linux. (Note: if you look at the source, you will see that code is the
57- same except the header files are different for Zephyr vs POSIX.)
56+ Linux. (Note: if you look at the source, you will see that the code is
57+ the same except the header files are different for Zephyr vs POSIX.)
5858
5959To build for a host POSIX OS:
6060
Original file line number Diff line number Diff line change 77********
88
99The sockets/echo-async sample application for Zephyr implements an
10- asyncronous IPv4 TCP echo server using a BSD Sockets like API with
10+ asyncronous IPv4 TCP echo server using a BSD Sockets compatible API with
1111non-blocking sockets and a ``poll() `` call. This is an extension of
1212the :ref: `sockets-echo-sample ` sample. The purpose of this sample is
1313still to show how it's possible to develop a sockets application portable
@@ -58,7 +58,7 @@ Running application on POSIX Host
5858=================================
5959
6060The same application source code can be built for a POSIX system, e.g.
61- Linux. (Note: if you look at the source, you will see that code is
61+ Linux. (Note: if you look at the source, you will see that the code is
6262the same except the header files are different for Zephyr vs POSIX.)
6363
6464To build for a host POSIX OS:
Original file line number Diff line number Diff line change 1- # Kconfig - BSD Sockets like API
1+ # Kconfig - BSD Sockets compatible API
22
33#
44# Copyright (c) 2017 Linaro Limited.
77#
88
99menuconfig NET_SOCKETS
10- bool "BSD Sockets like API"
10+ bool "BSD Sockets compatible API"
1111 default n
1212 help
1313 Provide BSD Sockets like API on top of native Zephyr networking API.
@@ -33,7 +33,7 @@ config NET_SOCKETS_POLL_MAX
3333 Maximum number of entries supported for poll() call.
3434
3535config NET_DEBUG_SOCKETS
36- bool "Debug BSD Sockets like API calls"
36+ bool "Debug BSD Sockets compatible API calls"
3737 default n
3838 help
3939 Enables logging for sockets code. (Logging level is defined by
You can’t perform that action at this time.
0 commit comments