[REBOL] Re: tcp port open?

2001-10-09 Thread Hayes Philip
In addition you could place a timeout on the wait wait wait-ports 600 ..and then loop through the port block performing the checks -Original Message- From: Maarten Koopmans [mailto:[EMAIL PROTECTED]] Sent: 09 October 2001 11:53 To: [EMAIL PROTECTED] Subject: [REBOL] Re: tcp port open?

[REBOL] forking

2001-10-09 Thread Hayes Philip
Maarten, Did you get forking to work? Phil. ** This email and any attachments may be confidential and the subject of legal professional privilege. Any disclosure, use, storage or copying of this email without the consent of

[REBOL] Re: tcp port open?

2001-10-09 Thread Hayes Philip
This is how my tcp-server deals with it wait-ports: none listen-port: open/no-wait/direct/binary tcp://: wait-ports: [ listen-port ] forever [ ; Perform asynch wait !!! wait wait-ports ; Is port descriptor set ? if not ( none? ( wait [ 0 listen-port ] ) ) [

[REBOL] Re: tcp port open?

2001-10-09 Thread Hayes Philip
You should have receive a notification that the connection has dropped that's the nature of TCP! -Original Message- From: Petr Krenzelok [mailto:[EMAIL PROTECTED]] Sent: 09 October 2001 09:23 To: [EMAIL PROTECTED] Subject: [REBOL] Re: tcp port open? Maarten Koopmans wrote: > Hi, > >

[REBOL] Re: Advanced port stuff

2001-01-08 Thread Hayes Philip
why not simply assign the port-id to an arbitrary variable and walkthru the port array ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 08 January 2001 13:56 To: [EMAIL PROTECTED] Subject: [REBOL] Re: Advanced port stuff You might try checking out multisess

[REBOL] Re: Advanced port stuff

2001-01-05 Thread Hayes Philip
Can you expand upon this ? Particularly 'which literal words' -Original Message- From: Paul Tretter [mailto:[EMAIL PROTECTED]] Sent: 05 January 2001 03:08 To: [EMAIL PROTECTED] Subject: [REBOL] Advanced port stuff I know I may not get an answer to this unless it falls on some real REB

[REBOL] Re: LF converted to CRLF when I append string to port ?

2000-12-14 Thread Hayes Philip
Found the answer open all ports with binary switch !! -Original Message- From: Hayes Philip [mailto:[EMAIL PROTECTED]] Sent: 14 December 2000 12:11 To: 'Rebol List Server' Subject: [REBOL] LF converted to CRLF when I append string to port ? When I perform the following: a

[REBOL] LF converted to CRLF when I append string to port ?

2000-12-14 Thread Hayes Philip
When I perform the following: append port s a single LF is converted into CRLF How can I prevent this from happening ? Phil. ** This email and any attachments may be confidential and the subject of legal professional

[REBOL] Attachment not accepted so: send trap script

2000-10-30 Thread Hayes Philip
#!/apps/rebol/rebol -qw REBOL [ Title: "Send SNMP v1 Trap" Date: 30-Oct-2000 Author: "Phil Hayes" Version: 0.1 Owner: "The Cnut Archetype Ltd - www.cnut.dircon.co.uk" Rights: "Copyright (C) The Cnut Archetype Ltd 2000" Purpose: { This script shows how SNMP v1 MIB II traps can be generated

[REBOL] Attachments not accepted so : SNMP v1 Trap Model Script

2000-10-30 Thread Hayes Philip
#!/apps/rebol/rebol -qw REBOL [ Title: "SNMP v1 Trap model" Date: 30-Oct-2000 Author: "Phil Hayes" Version: 0.1 Owner: "The Cnut Archetype Ltd - www.cnut.dircon.co.uk" Rights: "Copyright (C) The Cnut Archetype Ltd 2000" Purpose: { This script allows SNMP v1 MIB II traps to be built using

[REBOL] Generation of SNMP v1 Traps

2000-10-30 Thread Hayes Philip
Enclosed are 2 sample scripts that show how generic SNMP v1 traps can be issued. I would welcome any code critique. Phil Hayes. PS Please feel free to distribute these scripts under GPL. ** This email and any attachments

[REBOL] Re: UDP Networking (fwd)

2000-10-19 Thread Hayes Philip
Why ? -Original Message- From: Holger Kruse [mailto:[EMAIL PROTECTED]] Sent: 19 October 2000 15:14 To: [EMAIL PROTECTED] Subject: [REBOL] Re: UDP Networking (fwd) On Thu, Oct 19, 2000 at 02:16:25PM +0100, Hayes Philip wrote: > Holger, > > I'm running 2.4.37.10.1

[REBOL] Re: UDP Networking (fwd)

2000-10-19 Thread Hayes Philip
Holger, I'm running 2.4.37.10.1 on Solaris 2.6 when I run this ... # buffer: make string! 1000 listen-port: open/binary/direct udp://: forever [ wait listen-port read-io listen-port buffer 1000 print buffer print listen-port/remote-ip clear buffer