Registry / networking / jnr-unixsocket

jnr-unixsocket

JSON →
library0.38.25javamavenunverified

A Java library for Unix domain socket communication using JNR.

<dependency> <groupId>com.github.jnr</groupId> <artifactId>jnr-unixsocket</artifactId> <version>0.38.25</version> </dependency>
INSTALL
IMPORT
SIG · JNR-UNIXSOCKET
J
jnr-unixsocket
networkingjavav0.38.25
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UnixSocket
jnr.unixsocket.UnixSocket

Connects to a Unix domain socket and sends a message.

import jnr.unixsocket.UnixSocket; public class Example { public static void main(String[] args) throws Exception { UnixSocket socket = new UnixSocket(); socket.connect(new UnixSocketAddress("/tmp/socket")); socket.getOutputStream().write("hello".getBytes()); socket.close(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.38.25latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jnr-unixsocket — mvn dependency:get jnr-unixsocket · libregistry