Il 01/01/2021 15:30, Björn Lundin ha scritto:
> Den 2020-12-31 kl. 21:38, skrev RobertoA:
>>
>> I cannot fully understand how to use the example code described, but
>> it seems to me very useful to realize what I would like to achieve
>> How to use this code on Raspberry board?
>
>
> Hmm, if you don't see that, then it is not for you.
> Basically you adapt the code for your purposes.
> You assign values to variables
> port
> client_ip if you want a white list - otherwise remove that if-section
> tty
>
> then add a dbg proc like (or remove calls to dbg)
> proc dbg {what } {
> puts $what
> }
>
> then you run it via tclsh (I think it is installed in raspbian else
> sudo apt install tcl)
>
> The filevent does the rest
>
> But as others have pointed out - nc/netcat does the job as well
> If you are not a programmer - then that is a better route.
> If you needs are more special - then use something you can adapt
> yourself - like above
>
I understand the substance of the written code, what I can't do at the
moment is how to use it on Raspberry
What documents / tutorials to follow to understand how to use the sent code?
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|