how to make network ioctl call from java

Discussion in 'Java' started by Roger, Oct 22, 2003.

  1. Roger

    Roger Guest

    Hello,
    I am wondering howto/what is the preferred method is for making an
    ioctl (e.g. SIOCGIFCONF, or whatever) call into a network interface
    driver in java? I am using a linux kernel 2.4.20-8 and Sun's JDK 1.4.2
    (and Borland's Jbuilder 9 also). I have a custom network driver I'm
    working on and need to frequently poll status for some special
    purposes, debugging, etc. Any thoughts appreciated...
    :0)
     
    Roger, Oct 22, 2003
    #1
    1. Advertising

  2. Roger wrote:

    > Hello,
    > I am wondering howto/what is the preferred method is for making an
    > ioctl (e.g. SIOCGIFCONF, or whatever) call into a network interface
    > driver in java? I am using a linux kernel 2.4.20-8 and Sun's JDK 1.4.2
    > (and Borland's Jbuilder 9 also). I have a custom network driver I'm
    > working on and need to frequently poll status for some special
    > purposes, debugging, etc. Any thoughts appreciated...
    > :0)


    There's no way to do such things with java directly, you'll have to use
    native code instead. You should look into JNI (Java Native Interface) to
    accomplish this.

    --
    Regards,
    Christophe Vanfleteren
     
    Christophe Vanfleteren, Oct 22, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Javier
    Replies:
    1
    Views:
    875
    Thomas Heller
    Oct 30, 2003
  2. Peter Luciak

    ioctl(2) ?

    Peter Luciak, Apr 24, 2004, in forum: Python
    Replies:
    1
    Views:
    564
    Peter Hansen
    Apr 24, 2004
  3. Kyler Laird

    ioctl() help needed for video4linux

    Kyler Laird, Dec 24, 2004, in forum: Python
    Replies:
    0
    Views:
    327
    Kyler Laird
    Dec 24, 2004
  4. Using ioctl

    , Feb 9, 2006, in forum: Python
    Replies:
    1
    Views:
    1,631
    Scott David Daniels
    Feb 9, 2006
  5. barisdemiray
    Replies:
    2
    Views:
    817
    James Kanze
    Sep 19, 2009
Loading...

Share This Page