Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: socketpair equivalent?



Google didn't help me, which is why I came to this list.

A pipe isn't the same. socketpair FDs are two-way, pipes are one- way. What I need is a java wrapper around a socketpair call, so that I can get the FD back to pass on the command-line to this other process.

-Joshua

On Apr 2, 2007, at 6:45 PM, Michael Hall wrote:


I'm sure the socketpair function must be wrapped in some Java API, right? Can one of you geniuses point me at it?


Google?
Pipe was mentioned as the java equivalent.
Some Sun bug report hits seemed to indicate these are actually included in the implementations for nio and net stuff, at least on some platforms, if I looked at it right.
Wouldn't you want the same java functionality but not necessarily the same native method wrapped?



Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative





_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >socketpair equivalent? (From: Joshua Smith <email@hidden>)
 >Re: socketpair equivalent? (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.