char #0 (General questions)
Hi,
I am currently using the waitFor method in the SSH component to wait for a particular string.
However, the response i am getting from the server contains a char #0 which is the string terminator in delphi.
I beleive this is causing the waitFor to fail as it always times out.
eg.
I am waiting for who=test and the response i am getting is #0who=test .
Once the wait times out, the receive event fires with a large byte count of 90 characters but when i call the recieive method i only get up to the #0.
Is there a way to overcome the #0 problem i am experiencing?
Thanks.
Complete thread:
- char #0 - Ryan Hafey, 2006-06-15, 05:01
- Re: char #0 - wodDrazen, 2006-06-15, 09:28
- Re: char #0 - wodSupport, 2006-06-15, 10:27
- Re: char #0 - Ryan Hafey, 2006-06-16, 02:51
- Re: char #0 - wodSupport, 2006-06-15, 10:27
- Re: char #0 - wodDrazen, 2006-06-15, 09:28