--- Christian Kruggel <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I wonder if anybody else ever tried to connect any of the
> linux-system-devices with java, using one of javas streams. Just befor I
> start wasting my time - does this attempt make any sense?
> 
> Let's say I would like to send something to /dev/eth0 - is this device or
> is any other connectable by a java-stream? Or did you encounter a good
> sites dedicated to this topic? Any comments would be great!
> 

I've never seen /dev/eth0 on Linux so you may want to double check that.

It is possible to connect input/output java-streams  to devices.  At 
www.rxtx.org we open serial devices via JNI.  Just opening them with
Java File should be fine for default settings.

The source code is available to rxtx if that would be of use.  If its the ethernet
port you are after,  things will not be as simple; you probably want to look at
sockets which Java does a good job with already.

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to