项目作者: Cloud-Architects

项目描述 :
Linux VSOCK address family support for Java to communicate between a virtual machine and host
高级语言: C++
项目地址: git://github.com/Cloud-Architects/vsockj.git
创建时间: 2020-11-28T14:59:19Z
项目社区:https://github.com/Cloud-Architects/vsockj

开源协议:Apache License 2.0

下载


vsockj

Linux VSOCK address family support for Java to communicate between a virtual machine and host.

Introduction

More information: https://man7.org/linux/man-pages/man7/vsock.7.html

Building locally

``shell script docker build -t maven-gcc - < Dockerfile-build docker run -v "$HOME/.m2":/var/maven/.m2 -ti --rm -uid -u` -v “$PWD”:/usr/src/mymaven \
-e MAVEN_CONFIG=/var/maven/.m2 -w /usr/src/mymaven \
maven-gcc mvn -Duser.home=/var/maven clean package install

  1. ## Running example
  2. Examples should be run in an environment that supports VSOCK. Example of how to setup an environment on AWS: [Getting started: Hello enclave](https://docs.aws.amazon.com/enclaves/latest/user/getting-started.html).
  3. Client:
  4. ```shell script
  5. mvn -f vsockj-example/pom.xml clean compile exec:exec

Server:
shell script mvn -f vsockj-example/pom.xml clean compile exec:exec -DclassName=ServerDemo