diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-02 14:37:42 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-02 14:37:42 -0800 |
| commit | ec2b1275153487fda661942d9b98aab2567b612e (patch) | |
| tree | 4e1457b1bbf57341ea569013892550a988457e09 /src/nng.h | |
| parent | b6374f9d9b07c929522066f27ed9a7a05c6bb23b (diff) | |
| download | nng-ec2b1275153487fda661942d9b98aab2567b612e.tar.gz nng-ec2b1275153487fda661942d9b98aab2567b612e.tar.bz2 nng-ec2b1275153487fda661942d9b98aab2567b612e.zip | |
Begin testing REQ/REP.
Diffstat (limited to 'src/nng.h')
| -rw-r--r-- | src/nng.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,6 +59,9 @@ NNG_DECL int nng_close(nng_socket *); // nng_protocol returns the protocol number of the socket. uint16_t nng_protocol(nng_socket *); +// nng_peer returns the protocol number for the socket's peer. +uint16_t nng_peer(nng_socket *); + // nng_setopt sets an option for a specific socket. NNG_DECL int nng_setopt(nng_socket *, int, const void *, size_t); |
