tcp - Ruby - EM::connection send_data not sending data -


i have class extending em::connection. inside class, check new entries in database, if there new entry, format data , send across tcp connection using send_data. after sending data, logs has done text file, updates database mark record sent.

this program runs indefinitely , sends tcp updates @ frequencies driven sporadic user based activity generates database records.

normally, can watch data pass across network using linux ngrep command.

i having problem send_data command not sending data , not throwing errors. after gets in state, not send more data until restart program. makes issue worse because send_data not throw errors when occurs, program writes logs if worked , updates database record , marks sent.

is there way check results of send_data command?

if related far end not reading , read buffer maxing out, there anyway can check outbound buffer size?


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -