AltME: R3 Protocols

Messages

GrahamC
Will try it today. Thanks.

GrahamC
Awake-event: lookup
** Script error: rc4 is missing its crypt-key argument
** Where: unless switch encrypt-data encrypted-handshake-msg parse do-commands
f switch -apply- wake-up loop -apply- wait read
** Near: unless ctx/encrypt-stream [
    ctx/encrypt-stream: rc4/key ...
Cyphre
Ah, sorry. It seems the code is 'too new'..we need to make new release of R3 Saphirion fork so you are able to run it.
GrahamC
First 5 minutes of testing shows that in  the new release, the tls port is now more like the tcp port

Pekr
Could use R2 probably, but - can R3 read ftp? I will soon need small script for my LED screen client, who requests placing commercials himself. So my idea is to allow them to place it to FTP server, then my script takes it, downloads it, and rewrites the file locally ...
BrianH
There's no ftp protocol built into R3, and I haven't heard of anyone making one. Maybe Kaj's curl wrapper can do ftp.
Pavel
When I look at dev-net.c source it seems like UDP is only one switch. Would it be the UDP actor the same as for TCP or may it be less complicated?
Kaj
The cURL binding can do FTP, of course
We've been uploading our websites with it for several years
GrahamC
I wrote a ftp scheme three years ago ... and was able to download ISO images with it.
Pekr, you forget so quickly!
BrianH
As do I :)
GrahamC
to sys/make-scheme
and it should work. I did test it a week ago to confirm this.
Pekr
Graham - I do remember VERY well in fact :-) But I was not sure it is recent and working with latest R3 releases. I would really like R3 to accept some protocols as standard ...
GrahamC
the work I was doing recently was turning these old efforts into synchronous forms as in R2
I have this unanswered question on how to deal with network timeouts http://stackoverflow.com/questions/14555961/how-to-handle-timeout-periods-in-rebol-3-schemes
that I need answered.  I'd like some automatic way for tcp to update the waitlist somehow so that if network activity is occuring, the port should not timeout.
any takers?
In R2 you just increase the system timeout value prior to starting your network call
Does everyone remember the old spinning text with network activity from Rebol1 ?
Maxim
IIRC you can still do it in R2.

Last message posted 146 weeks ago.