GithubHelp home page GithubHelp logo

lukehuang / junixsocket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kohlschutter/junixsocket

0.0 1.0 0.0 4.39 MB

Unix Domain Sockets in Java (AF_UNIX)

License: Other

Java 68.23% HTML 0.06% C 12.57% Shell 6.61% CSS 0.05% C++ 12.48%

junixsocket's Introduction

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, FreeBSD, 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).

Quick links

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).

junixsocket's People

Contributors

darinhoward avatar dmpanov avatar gesellix avatar kohlschuetter avatar rraptorr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.