Results 1 to 3 of 3
  1. #1
    Zept is offline Member
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Default Names pipes in java

    I need to use named pipes in my java application to communicate with a .net application.

    As named pipes is OS dependent and not included in java it would probably have to be included through JNI. Anyone have any idea how to do this? or if there already exist a library with this function?


    Some information on named pipes:
    Named Pipes (Windows)

  2. #2
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default

    I think named pipes are supported under the nio package included in Java, for both Linux and Windows.
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

  3. #3
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default

    I also think socket files are supported.

    However if they are not, why not just check which OS the user is using and perform a system dependent program call,
    like mkfifo <filename> for Linux?
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

Similar Threads

  1. How to use pipes for inter-thread I/O
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-09-2008, 07:37 PM
  2. Getting names of table columns
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-07-2008, 09:39 AM
  3. Drive names
    By alwz_nikhil in forum New To Java
    Replies: 0
    Last Post: 11-28-2007, 11:04 AM
  4. how to get the names of the files
    By mary in forum Advanced Java
    Replies: 2
    Last Post: 08-05-2007, 05:01 AM
  5. named pipes
    By samson in forum Networking
    Replies: 1
    Last Post: 04-04-2007, 07:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •