RFC 3542 or RFC 2292 - Advanced Sockets Application Program Interface (API) for IPv6

cormac mullally cormac.mullally at gmail.com
Mon Nov 26 05:08:07 PST 2007


Hello Max,

Ok i found it, in C:\openjdk\hotspot\src\share\vm\prims\jvm.cpp

JVM_LEAF(jint, JVM_Socket(jint domain, jint type, jint protocol))
  JVMWrapper("JVM_Socket");
  return hpi::socket(domain, type, protocol);
JVM_END


And then for linix i found
C:\openjdk\hotspot\src\os\linux\vm\hpi_linux.hpp
inline int hpi::socket(int domain, int type, int protocol) {
  return ::socket(domain, type, protocol);
}

So it uses Socket.h which is part of the POSIX interfaces, is this true?

Thanks,
Cormac







On Nov 26, 2007 11:35 AM, Max (Weijun) Wang <Weijun.Wang at sun.com> wrote:
> It's defined in the hotspot workspace.
>
> Max
>
> On Nov 26, 2007, at 6:23 PM, cormac mullally wrote:
>
> > JVM_Socket
>
>



More information about the net-dev mailing list