diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-04-30 13:15:41 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-04-30 13:34:04 -0700 |
| commit | 264ed002f15645193ad53d4ba51218365d979699 (patch) | |
| tree | c4ed06d8ffd65bbdf9d94f994c96cecb17f56c81 /docs/man/nn_getsockopt.3compat.adoc | |
| parent | 2b0d31553e542c130e2595ff9a3ac9756a2c1619 (diff) | |
| download | nng-264ed002f15645193ad53d4ba51218365d979699.tar.gz nng-264ed002f15645193ad53d4ba51218365d979699.tar.bz2 nng-264ed002f15645193ad53d4ba51218365d979699.zip | |
fixes #384 Add NN_PROTOCOL and related
Diffstat (limited to 'docs/man/nn_getsockopt.3compat.adoc')
| -rw-r--r-- | docs/man/nn_getsockopt.3compat.adoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/man/nn_getsockopt.3compat.adoc b/docs/man/nn_getsockopt.3compat.adoc index f4988093..24e13861 100644 --- a/docs/man/nn_getsockopt.3compat.adoc +++ b/docs/man/nn_getsockopt.3compat.adoc @@ -137,11 +137,12 @@ NOTE: Not all protocols offer this protection, so care should still be used in configuring device forwarding. `NN_DOMAIN`:: -This contains either the value `AF_SP` or `AF_SP_RAW`, corresponding -to the value that the socket was created with. +This option of type `int` represents either the value `AF_SP` or `AF_SP_RAW`, +corresponding to the value that the socket was created with. `NN_PROTOCOL`:: -This option is not supported at this time. +This option option of type `int` contains the numeric protocol number +that the socket is used with. `NN_RCVFD`:: This option returns a file descriptor suitable for use in with `poll()` or |
