login about faq

Hi all Im new to the Chilkat sockets and Im having an issue receiving string data from a remote cell modem device. Im sending 3 telnet command strings and receiving the data back. These are seprate sendstrings one for each command. The fist sendstring works fine, I receive the data, when I sendstring a second time, Im locked up in the receivestring property.

Ive read a few posts on the receivestring does not no when the end of data is, and this may still be running a prior read. I would imagine closing the socket would fix the issue but it dosent, only restarting the program can I get access back to the socket routines.

I will never know the receiving data amount as this is part of the modem command set, how can I fix this issue. shouldent the receivestring proprty time out and release the sockets.



asked Apr 23 '15 at 10:01

thomas's gravatar image


Well, thanks for the help solved the issue, I was using receivestringsuccess before reading buffer, this seems to be an issue if receiving multiple messages. If I just use receivestring, works fine. If im going to buy this license will need more support and better examples as if you follow the examples on the web site, they dont cater for real life requirements.

Cheers :)


answered Apr 23 '15 at 12:14

thomas's gravatar image


Hi Thomas, welcome to the forum!

I'm a fellow user of the Chilkat library, and you should know that this is a user-to-user help forum (where Chilkat drops in to help), but not an official support channel. When/If you have an active support agreement, then you should use the official support channel (email) for urgent questions.

(Apr 23 '15 at 13:38) jpbro ♦

Now, FWIW I think you got fair free support from Chilkat (a response in less about 2 hours), but one way you can get better help from other users is by posting an actual code snippet, and the contents of the LastErrorText property (if applicable). We're all volunteering our time here, so the less work we have to do to reproduce the problem and be of some help, the better.

(Apr 23 '15 at 13:39) jpbro ♦

answered Apr 23 '15 at 12:17

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 23 '15 at 10:01

Seen: 491 times

Last updated: Apr 23 '15 at 13:39

powered by OSQA