Sending IP Packets
[1/3] from: learned::talentsinc::net at: 11-Oct-2001 9:23
I am testing an IP based API, and it seems from the
litle experience I have that REBOL might be a good
tool to test with. Are there any examples out
there that illustrate how to send IP packets. I
have seen all the popular protocol things, involving
web, mail, etc., but in this case, I'm looking more
for being able to assemble a small binary data structure
sending it out an IP port and listening for a response.
Any pointers toward sample code would be useful.
Thanks
[2/3] from: ryanc:iesco-dms at: 11-Oct-2001 13:40
>> bobs-listener: open/binary tcp://:3333
>> dons-end: open/binary tcp://127.0.0.1:3333
>> bobs-end: first wait [bobs-listener]
>> insert dons-end #{AABBCC}
>> copy/part bobs-end 3
== #{AABBCC}
>> insert bobs-end #{112233}
>> copy/part dons-end 3
== #{112233}
>> close bobs-end
>> close dons-end
>> close bobs-listener
--Ryan
Learned wrote:
> I am testing an IP based API, and it seems from the
> litle experience I have that REBOL might be a good
<<quoted lines omitted: 10>>
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Ryan Cole
Programmer Analyst
www.iesco-dms.com
707-468-5400
[3/3] from: learned:talentsinc at: 11-Oct-2001 22:00
On Thu, 11 Oct 2001 13:40:20 -0700, Ryan Cole wrote:
>>> bobs-listener: open/binary tcp://:3333
>>> dons-end: open/binary tcp://127.0.0.1:3333
<<quoted lines omitted: 26>>
>> [rebol-request--rebol--com] with "unsubscribe" in the
>> subject, without the quotes.
Beautiful...have to go study a couple of these words, but I follow the pattern, and just
tried it successfully. I should be able to build on this no problem!
:)
--
G E Learned, [learned--talentsinc--net] on 10/11/2001
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted