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
e78cc47b
Commit
e78cc47b
authored
May 02, 2011
by
Pieter Hintjens
Committed by
Martin Sustrik
May 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved tests off 5555 (conflict with Eclipse)
Signed-off-by:
Pieter Hintjens
<
ph@imatix.com
>
parent
eb9bc1b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
test_pair_tcp.cpp
tests/test_pair_tcp.cpp
+2
-2
test_reqrep_tcp.cpp
tests/test_reqrep_tcp.cpp
+2
-2
test_shutdown_stress.cpp
tests/test_shutdown_stress.cpp
+2
-2
No files found.
tests/test_pair_tcp.cpp
View file @
e78cc47b
...
...
@@ -28,12 +28,12 @@ int main (int argc, char *argv [])
void
*
sb
=
zmq_socket
(
ctx
,
ZMQ_PAIR
);
assert
(
sb
);
int
rc
=
zmq_bind
(
sb
,
"tcp://127.0.0.1:55
55
"
);
int
rc
=
zmq_bind
(
sb
,
"tcp://127.0.0.1:55
60
"
);
assert
(
rc
==
0
);
void
*
sc
=
zmq_socket
(
ctx
,
ZMQ_PAIR
);
assert
(
sc
);
rc
=
zmq_connect
(
sc
,
"tcp://127.0.0.1:55
55
"
);
rc
=
zmq_connect
(
sc
,
"tcp://127.0.0.1:55
60
"
);
assert
(
rc
==
0
);
bounce
(
sb
,
sc
);
...
...
tests/test_reqrep_tcp.cpp
View file @
e78cc47b
...
...
@@ -28,12 +28,12 @@ int main (int argc, char *argv [])
void
*
sb
=
zmq_socket
(
ctx
,
ZMQ_REP
);
assert
(
sb
);
int
rc
=
zmq_bind
(
sb
,
"tcp://127.0.0.1:55
55
"
);
int
rc
=
zmq_bind
(
sb
,
"tcp://127.0.0.1:55
60
"
);
assert
(
rc
==
0
);
void
*
sc
=
zmq_socket
(
ctx
,
ZMQ_REQ
);
assert
(
sc
);
rc
=
zmq_connect
(
sc
,
"tcp://127.0.0.1:55
55
"
);
rc
=
zmq_connect
(
sc
,
"tcp://127.0.0.1:55
60
"
);
assert
(
rc
==
0
);
bounce
(
sb
,
sc
);
...
...
tests/test_shutdown_stress.cpp
View file @
e78cc47b
...
...
@@ -31,7 +31,7 @@ extern "C"
{
int
rc
;
rc
=
zmq_connect
(
s
,
"tcp://127.0.0.1:55
55
"
);
rc
=
zmq_connect
(
s
,
"tcp://127.0.0.1:55
60
"
);
assert
(
rc
==
0
);
// Start closing the socket while the connecting process is underway.
...
...
@@ -61,7 +61,7 @@ int main (int argc, char *argv [])
s1
=
zmq_socket
(
ctx
,
ZMQ_REP
);
assert
(
s1
);
rc
=
zmq_bind
(
s1
,
"tcp://127.0.0.1:55
55
"
);
rc
=
zmq_bind
(
s1
,
"tcp://127.0.0.1:55
60
"
);
assert
(
rc
==
0
);
for
(
i
=
0
;
i
!=
THREAD_COUNT
;
i
++
)
{
...
...
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