Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
50c2f7af
Commit
50c2f7af
authored
May 03, 2016
by
somdoron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sndbuf/rcvbuf tests
parent
fca45921
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
18 deletions
+2
-18
test_setsockopt.cpp
tests/test_setsockopt.cpp
+2
-18
No files found.
tests/test_setsockopt.cpp
View file @
50c2f7af
...
...
@@ -40,15 +40,7 @@ void test_setsockopt_tcp_recv_buffer (void)
rc
=
zmq_getsockopt
(
socket
,
ZMQ_RCVBUF
,
&
val
,
&
placeholder
);
assert
(
rc
==
0
);
assert
(
val
==
8192
);
rc
=
zmq_setsockopt
(
socket
,
ZMQ_RCVBUF
,
&
val
,
sizeof
(
val
));
assert
(
rc
==
0
);
assert
(
val
==
8192
);
rc
=
zmq_getsockopt
(
socket
,
ZMQ_RCVBUF
,
&
val
,
&
placeholder
);
assert
(
rc
==
0
);
assert
(
val
==
8192
);
assert
(
val
==
-
1
);
val
=
16384
;
...
...
@@ -75,15 +67,7 @@ void test_setsockopt_tcp_send_buffer (void)
rc
=
zmq_getsockopt
(
socket
,
ZMQ_SNDBUF
,
&
val
,
&
placeholder
);
assert
(
rc
==
0
);
assert
(
val
==
8192
);
rc
=
zmq_setsockopt
(
socket
,
ZMQ_SNDBUF
,
&
val
,
sizeof
(
val
));
assert
(
rc
==
0
);
assert
(
val
==
8192
);
rc
=
zmq_getsockopt
(
socket
,
ZMQ_SNDBUF
,
&
val
,
&
placeholder
);
assert
(
rc
==
0
);
assert
(
val
==
8192
);
assert
(
val
==
-
1
);
val
=
16384
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment