Re: Possible to implement something like (General questions)
Hi,
The empty string usually means that there was an empty line received.
In that case, there is more lines retrieved, so you should call the ReceiveLine method again.
However, if you only need the last line, it would perhaps be easier to call the receive method, and parse the result (start from the end). I believe that the result should contain CR/LF sequences, which should make it much easier to parse the result.
Hope I helped.
Regards,
Damba
Complete thread:
- Possible to implement something like Get Last Li - enaiman, 2007-10-18, 02:57
- Re: Possible to implement something like - wodDamir, 2007-10-18, 08:53
- Re: Possible to implement something like - enaiman, 2007-10-19, 00:19
- Re: Possible to implement something like - enaiman, 2007-11-23, 01:38
- Re: Possible to implement something like - wodDamir, 2007-11-23, 02:55
- Re: Possible to implement something like - enaiman, 2007-11-23, 04:00
- Re: Possible to implement something like - wodDamir, 2007-11-23, 08:49
- Re: Possible to implement something like - enaiman, 2007-11-23, 04:00
- Re: Possible to implement something like - wodDamir, 2007-11-23, 02:55
- Re: Possible to implement something like - enaiman, 2007-11-23, 01:38
- Re: Possible to implement something like - enaiman, 2007-10-19, 00:19
- Re: Possible to implement something like - wodDamir, 2007-10-18, 08:53