- I finished testing the megaphone_sender component.
- I tested the ability of the megaphone module to receive data.
- I resolved to test from the client side of the API.
After resolving to test the client side I tried out megaphone:recv when some data was already present. That failed.
I suppose I should feel vindicated that the test will save time in the long run, but for right now I just wish the thing worked. Ah well.
I created some new test code for this attempt:
test_receive_read() ->
start_test(),
test_receiver(),
recv(24).
The test sets up the client and ECM connections, sends a packet of data, then attempts to read that packet via the recv method.
When I tried this out the first time and it just sat there like a bump on a log, I tried putting in some debug statements and discovered that megaphone did not even think that any data had been received for that connection.
That was as far as I got, so next time I will try to figure out where the data is disappearing to.
No comments:
Post a Comment