[Vortex] More strange behavior during MSG/ANS pattern
chris at replicus.com
Tue Oct 16 00:41:19 CEST 2007
I have noticed that when I step through my code with my debugger on the
client side that it seems to slow operations down enough for the replies
(via vortex_channel_send_ans_rpy calls on the server side) to get back
to the client. What my code is doing is sending a file from server to
client. The error message I am usually getting is "client have
disconnected without closing session". Here's the simplified code.
Channel = get_channel_from_my_channel_pool();
// Execution goes back to GUI at this point.
// This is the simple frame handler on the client.
// Get the payload here and write to a file on the local machine.
int msgno = vortex_frame_get_msgno(frame);
Loop and read a file here
vortex_channel_send_ans_rpy(channel, file_chunk, file_chunk
More information about the Vortex