Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Dec 12, 2023
1 parent 84a0f48 commit 00b5246
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/testlo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,10 @@ void test_tcp()
TEST(lo_server_get_protocol(ts) == LO_TCP);
TEST(lo_send(ta, "/tcp", "f", 23.0) == 16);
TEST(lo_send(ta, "/tcp", "f", 23.0) == 16);
TEST(lo_server_recv(ts) == 16);
int res = lo_server_recv(ts);
fprintf(stderr, "tcp-test: %d\n", res);
fprintf(stdout, "tcp-test: %d\n", res);
TEST(res == 16);
TEST(lo_server_recv_noblock(ts, 5000) == 16);
TEST(lo_send_from(ta, ts, LO_TT_IMMEDIATE, "/foo/bar", "fi", 5.0f, 6) == 24);
TEST(lo_server_recv_noblock(ts, 5000) == 24); // foo
Expand Down

0 comments on commit 00b5246

Please sign in to comment.