in reply to Re^3: Checking if a socket has some data to read
in thread Checking if a socket has some data to read

Thank you Scott and my apologies for the late reply. I will read this today or next week and try to implement your suggestions. You may be right I may be suffering from buffering. Receiving some data is the only piece not working in my script and stopping it from becoming, what I want. I will get back to you. Kind regards. Cheers!
God bless world peace...
  • Comment on Re^4: Checking if a socket has some data to read

Replies are listed 'Best First'.
Re^5: Checking if a socket has some data to read
by perlgsm (Initiate) on Nov 18, 2013 at 15:13 UTC
    Hi Scott, I don't think my script is suffering from buffering. I think some issue with the CPAN library. I used IPC and created a child process, but for some reason the parent's request (heartbeat) isn't sent to the server, I think the child's read request is blocking the call. Which as per CPAN-SMPP library is expected. While child gets different offset, surprisingly it is an issue sometimes, not always. I'm thinking of emailing the module developer. Thanks a bunch.
    God bless world peace...