Hi,

I have done a little POP3 simulation on my computer, but it may not
work for you, because I don't know how the protocols are implemented.

>> print system/schemes/default/timeout
30
>> print system/schemes/pop/timeout
none

>> b: open pop://127.0.0.1
connecting to: 127.0.0.1
|/-\<waits here, not sure if it's really 30 seconds>
** Access Error: Network timeout.
** Where: b: open pop://127.0.0.1

>> system/schemes/pop/timeout: 1
== 1
>> b: open pop://127.0.0.1
connecting to: 127.0.0.1
|/-\<waits really short time>
** Access Error: Network timeout.
** Where: b: open pop://127.0.0.1

>> system/schemes/pop/timeout: 100
== 100
>> b: open pop://127.0.0.1
connecting to: 127.0.0.1
|/-\<waits for a long time>
** Access Error: Network timeout.
** Where: b: open pop://127.0.0.1

Since I don't have a POP3 server, I simulated it with another REBOL
console with these commands:

>> listen: open tcp://:110
>> a: first listen
|/-\<waits for client to connect>
>> close a
>> a: first listen
|/-\<waits for client to connect>
>> close a
>> a: first listen
|/-\<waits for client to connect>
>> close a
>> close listen

[EMAIL PROTECTED] wrote:
> 
> Hi!
> 
> Some time ago somebody (at REBOL Tech., I suppose) told us how to set the
> timeout value for socket connections. Does anybody remember how this is done?
> 
> Thanks in advance!
> 
> And, to REBOL Tech.: Please add this to the manual somewhere, as it can be
> really useful.
> 
> Kind regards,
> --
> Ole Friis <[EMAIL PROTECTED]>
> 
> "Ignorance is bliss"
> (Cypher, The Matrix)

"Ignorance is strength"
(George Orwell, 1984)

--
Michal Kracik

Reply via email to