Re: Possible to implement something like (General questions)
Hi,
Did you check ReceiveLine method?
Perhaps this would help?
Regards,
DambaI tried ReceiveLine and it returns nothing :(
the way I did: I've put ReceiveLine inside the _Receive function. The _Receive function works and it returns the number of bytes to be received.
I'm not sure how Handled works, I tried to assign True or False outside _Receive function but it doesn't change the behaviour (I'm using the GUI version)Here is a bit of my code:
[code]Func Telnet1_Received($bytes, $handled)
ConsoleWrite($bytes&@CRLF) ;debuging
ConsoleWrite($handled&@CRLF) ;debuging
$recvd = $Telnet1.ReceiveLine ()
ConsoleWrite($recvd&@CRLF) ;debuging
EndFunc[/code]while $bytes value changes everytime according to what is to be received, ReceiveLine returns nothing and Handled has no effect when set True or False.
I know I may be doing something wrong ... could you tell me please?
Thank you,
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