aboutsummaryrefslogtreecommitdiff
path: root/src/core/socket.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-25 20:28:43 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-25 20:28:43 -0700
commitc2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632 (patch)
tree29d666d89ac98c1a1b7259b2cf5b12af2c30c919 /src/core/socket.c
parentcc419cf01d9c060a3bd3fc318f9b9bc9e736dae9 (diff)
downloadnng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.tar.gz
nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.tar.bz2
nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.zip
Drop the protocol version for internal implementations.
The ops vector / protocol API/ABI were meant to support external implementations, but we have moved away from having pluggable protocols, and we aren't likely to support it any time soon.
Diffstat (limited to 'src/core/socket.c')
-rw-r--r--src/core/socket.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index a7633c9e..a79955b3 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -577,11 +577,6 @@ nni_sock_open(nni_sock **sockp, const nni_proto *proto)
nni_sock *s = NULL;
int rv;
- if (proto->proto_version != NNI_PROTOCOL_VERSION) {
- // unsupported protocol version
- return (NNG_ENOTSUP);
- }
-
if ((rv = nni_sock_create(&s, proto)) != 0) {
return (rv);
}