Hi, jdk/src/solaris/native/java/net/SocketOutputStream.c always copy data from the given byte[] to a temporary stack/heap buffer. Wouldn’t it be sufficient to just use a pointer into the byte[] and directly call NET_Send with that pointer? — Robert Stupp @snazy