On 04/06/12 14:58, BILAL Mustapha wrote:

- Process 2 receives icmpv6 (or any packet) from process1 and retransmit
it to a serial link (USB)
- Process 2 receives icmpv6 (or any packet) from the serial link (USB)
and restransmit it to process 1.

Oddly, Python does not have ICMP support in its standard library however there is an icmpv6 module on Activestate:

http://code.activestate.com/recipes/409689-icmplib-library-for-creating-and-reading-icmp-pack/

And there is also a module for reading/writing to usb ports (pyusb)...

http://pyusb.sourceforge.net/docs/1.0/tutorial.html

hth,

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to