Hi all,

I would like to retrieve messages from multiple SerialFowarders.  For
example, one SerialForwarder is at port 9001, the other SerialForwarder is
at port 9002.  I want to write a java application to listen to both ports at
the same time.

I can open separate terminals and listen to each port individually by
running:
export [EMAIL PROTECTED]:9001; java NetworkGUI > 9001_data.txt
export [EMAIL PROTECTED]:9002; java NetworkGUI > 9002_data.txt

Here, the example only has two ports.  Sometimes, I need to listen to more
than 10 ports.  Opening 10 terminals seems to be a hassle.  I would like to
listen to all ports with one terminal and concat the data into one file.

java NetworkGUI > all_data.txt

Any help will be greatly appreciated!

Best regards,
Nam
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to