;; This fails whenever the host's gone away (OFTEN!!)
;; ** Access Error: Cannot connect to 127.10.176.206.
;; ** Where: Open/direct/binary probe To-url join "tcp://"
;; Isn't try supposed to catch and handle this? If not, how else could I ;;
do it?
Connect: Func [ ip port ] [
Gp: try [
Open/direct/binary probe To-url join "tcp://" [ Ip ":" port ]
]
if not error? gp [
insert gp "GNUTELLA CONNECT/0.4^/^/"
print to-string data: copy gp
]
return gp
]
- [REBOL] Problem with try [ open/direct/binary tcp://... ]... eventi
- [REBOL] Problem with try [ open/direct/binary tcp://... petr . krenzelok
- [REBOL] Problem with try [ open/direct/binary tc... eventi
- [REBOL] Problem with try [ open/direct/binar... Al . Bri
- [REBOL] Problem with try [ open/direct/b... eventi
- [REBOL] Problem with try [ open/dir... Al . Bri
- [REBOL] Re: Problem with try [ open... rebol
- [REBOL] Problem with try [ open... eventi
- [REBOL] Problem with try [ ... Al . Bri
- [REBOL] Problem with try [ ... joel . neely
- [REBOL] Problem with try [ ... larry
