[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: 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
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] 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

[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] 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: append port

[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] 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] 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