junixsocket

Unix Domain Sockets in Java (AF_UNIX)

  • Owner: kohlschutter/junixsocket
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

junixsocket

junixsocket is a Java/JNI library that allows the use of Unix Domain Sockets (AF_UNIX sockets) from Java.

Why it's cool

  • junixsocket is a small, modular library. Install only what you need.
  • In contrast to other implementations, junixsocket extends the Java Sockets API (java.net.Socket, java.net.SocketAddress, etc.)
  • Supports RMI over AF_UNIX.
  • Database support (connect to a local database server via Unix sockets and JDBC).
    • MySQL (provides a custom AFUNIXDatabaseSocketFactory for Connector/J).
    • PostgreSQL and others (provides a generic AFUNIXSocketFactory with a variety of configuration options).
  • Supports peer credentials.
  • Supports sending and receiving file descriptors.
  • Supports the abstract namespace on Linux.
  • Supports HTTP over unix socket (using NanoHTTPD)
  • Supports Java 7*, 8, 9, 10, 11, 12, 13, 14, 15.
  • Comes with pre-built native libraries for several operating systems and platforms, including
    macOS, Linux, Solaris and Windows; custom libraries can be built using Maven.
  • Supports JPMS/Jigsaw modules.
  • Apache 2.0 licensed.

* (basic support for Java 7 only, no RMI, no Demos).

Feature Comparison Matrix, Project, License, Java Sockets API, Supports MySQL, Supports RMI, Comments, -------------, ---------, -------------, -------------, -------------, -------------, junixsocket, Apache 2.0, ✅ Yes, ✅ Yes, ✅ Yes, This project, netty, Apache 2.0, ✅ Yes, ❌ No, ❌ No, JUDS, LGPL, ❌ No, ❌ No, ❌ No, J-BUDS, LGPL, ❌ No, ❌ No, ❌ No, orphaned, gnu.net.local, GPL with Classpath exception, ❌ No, ❌ No, ❌ No, orphaned, ## Licensing

junixsocket is released under the Apache 2.0 License.

Commercial support is available through Kohlschütter Search Intelligence.

Self-test

To verify that the software works as expected on your platform, you can run the selftest program,
which is located in the "junixsocket-dist" distribution package:

java -jar junixsocket-selftest-VERSION-jar-with-dependencies.jar 

(with VERSION being the corresponding junixsocket version).

Main metrics

Overview
Name With Ownerkohlschutter/junixsocket
Primary LanguageJava
Program languageJava (Language Count: 6)
Platform
License:Apache License 2.0
所有者活动
Created At2014-11-24 06:41:49
Pushed At2022-08-06 05:58:56
Last Commit At2022-07-01 13:51:46
Release Count19
Last Release Namejunixsocket-parent-2.5.1 (Posted on 2022-07-01 13:51:46)
First Release Namejunixsocket-parent-2.0.0 (Posted on 2014-11-28 22:11:50)
用户参与
Stargazers Count353
Watchers Count21
Fork Count104
Commits Count748
Has Issues Enabled
Issues Count68
Issue Open Count1
Pull Requests Count21
Pull Requests Open Count1
Pull Requests Close Count20
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private