Skip to content

Commit d9af77b

Browse files
pfalcongalak
authored andcommitted
net: sockets: Consistently use "BSD Sockets compatible API" moniker
This is how it's called in the main docs, so use this same phrase in Kconfig and samples too. Also, added some articles to docs. Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent 8f5420f commit d9af77b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

samples/net/sockets/echo/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Overview
77
********
88

99
The 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

1414
The 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

5555
The 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

5959
To build for a host POSIX OS:
6060

samples/net/sockets/echo_async/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Overview
77
********
88

99
The 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
1111
non-blocking sockets and a ``poll()`` call. This is an extension of
1212
the :ref:`sockets-echo-sample` sample. The purpose of this sample is
1313
still to show how it's possible to develop a sockets application portable
@@ -58,7 +58,7 @@ Running application on POSIX Host
5858
=================================
5959

6060
The 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
6262
the same except the header files are different for Zephyr vs POSIX.)
6363

6464
To build for a host POSIX OS:

subsys/net/lib/sockets/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Kconfig - BSD Sockets like API
1+
# Kconfig - BSD Sockets compatible API
22

33
#
44
# Copyright (c) 2017 Linaro Limited.
@@ -7,7 +7,7 @@
77
#
88

99
menuconfig 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

3535
config 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

0 commit comments

Comments
 (0)