Skip to content

Commit 991af02

Browse files
authored
chore: Add macOS compatibility to documentation
1 parent 0e61b66 commit 991af02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<img src="https://img.shields.io/npm/v/react-native-tcp-socket?color=gr&label=npm%20version" />
66
<p/>
77

8-
React Native TCP socket API for Android & iOS with **client SSL/TLS support**. It allows you to create TCP client and server sockets, imitating Node's [net](https://nodejs.org/api/net.html) API functionalities (check the available [API](#api) for more information).
8+
React Native TCP socket API for Android, iOS & macOS with **client SSL/TLS support**. It allows you to create TCP client and server sockets, imitating Node's [net](https://nodejs.org/api/net.html) API functionalities (check the available [API](#api) for more information).
99

1010
## Table of Contents <!-- omit in toc -->
1111

@@ -246,7 +246,7 @@ Here are listed all methods implemented in `react-native-tcp-socket`, their func
246246
##### `createConnection: options` <!-- omit in toc -->
247247
**Required**. Available options for creating a socket. It must be an `object` with the following properties:
248248

249-
| Property | Type | iOS | Android |Description |
249+
| Property | Type | iOS/macOS | Android |Description |
250250
| --------------------- | ------ | :--: | :-----: |-------------------------------------------------------------------------------------------------- |
251251
| **`port`** | `<number>` ||| **Required**. Port the socket should connect to. |
252252
| `host` | `<string>` ||| Host the socket should connect to. IP address in IPv4 format or `'localhost'`. **Default**: `'localhost'`. |
@@ -282,7 +282,7 @@ Here are listed all methods implemented in `react-native-tcp-socket`, their func
282282
##### `listen: options` <!-- omit in toc -->
283283
**Required**. Available options for creating a server socket. It must be an `object` with the following properties:
284284

285-
| Property | Type | iOS | Android |Description |
285+
| Property | Type | iOS/macOS | Android |Description |
286286
| --------------------- | ------ | :--: | :-----: |-------------------------------------------------------------------------------------------------- |
287287
| **`port`** | `<number>` ||| **Required**. Port the socket should listen to. |
288288
| `host` | `<string>` ||| Host the socket should listen to. IP address in IPv4 format or `'localhost'`. **Default**: `'0.0.0.0'`. |

0 commit comments

Comments
 (0)