https://github.com/jauntsdn/netty-vmsocket
VM socket (af_vsock) channels support for java/netty
https://github.com/jauntsdn/netty-vmsocket
af-vsock java netty
Last synced: 10 months ago
JSON representation
VM socket (af_vsock) channels support for java/netty
- Host: GitHub
- URL: https://github.com/jauntsdn/netty-vmsocket
- Owner: jauntsdn
- License: apache-2.0
- Created: 2023-07-12T08:34:20.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-29T08:33:16.000Z (10 months ago)
- Last Synced: 2025-03-29T09:27:50.451Z (10 months ago)
- Topics: af-vsock, java, netty
- Language: Java
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README

[](https://github.com/jauntsdn/netty-vmsocket/actions/workflows/ci-build.yml)
# netty-vmsocket
Implementation of Netty channels for VM sockets which complements [netty's vsock addresses](https://github.com/netty/netty/pull/13468) support.
### build & binaries
Binaries are compatible with java8+.
Tests require kernel 5.6+ (due to vsock loopback CID addresses).
```shell script
./gradlew clean build
```
Releases are published on MavenCentral, snapshots are available at oss.sonatype.org
```groovy
repositories {
// mavenCentral()
// repository {
// url "https://oss.sonatype.org/content/repositories/snapshots"
// }
}
dependencies {
implementation "com.jauntsdn.netty:netty-vmsocket:0.9.4"
}
```
### examples
`netty-vmsocket-example` showcases client and server APIs (requires kernel 5.6+ since vsock loopback CID addresses are used).
```shell script
./gradlew clean build installDist
example_server_run.sh
example_client_run.sh
```
## LICENSE
Copyright 2023 - present Maksym Ostroverkhov.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.