ipcsocket

IPC: Unix Domain Socket and Windows Named Pipes for Java

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

ch.epfl.scala
ArtifactId

ArtifactId

ipcsocket
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

ipcsocket
IPC: Unix Domain Socket and Windows Named Pipes for Java
Project URL

Project URL

https://github.com/scalacenter/ipcsocket
Project Organization

Project Organization

Scala Center
Source Code Management

Source Code Management

https://github.com/scalacenter/ipcsocket

Download ipcsocket

How to add to project

<!-- https://jarcasting.com/artifacts/ch.epfl.scala/ipcsocket/ -->
<dependency>
    <groupId>ch.epfl.scala</groupId>
    <artifactId>ipcsocket</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/ch.epfl.scala/ipcsocket/
implementation 'ch.epfl.scala:ipcsocket:1.0.1'
// https://jarcasting.com/artifacts/ch.epfl.scala/ipcsocket/
implementation ("ch.epfl.scala:ipcsocket:1.0.1")
'ch.epfl.scala:ipcsocket:jar:1.0.1'
<dependency org="ch.epfl.scala" name="ipcsocket" rev="1.0.1">
  <artifact name="ipcsocket" type="jar" />
</dependency>
@Grapes(
@Grab(group='ch.epfl.scala', module='ipcsocket', version='1.0.1')
)
libraryDependencies += "ch.epfl.scala" % "ipcsocket" % "1.0.1"
[ch.epfl.scala/ipcsocket "1.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
net.java.dev.jna : jna jar 4.5.0
net.java.dev.jna : jna-platform jar 4.5.0

test (1)

Group / Artifact Type Version
com.novocode : junit-interface jar 0.11

Project Modules

There are no modules declared in this project.

IPC Socket

IPC Socket is a Java wrapper around interprocess communication (IPC) using java.net.ServerSocket and java.net.Socket as the API.

On Unix-like systems, it uses Unix Domain Socket. The path is a filesystem path name.

On Windows, IPC is implemented using Named Pipe. The path must refer to an entry in \\?\pipe\ or \\.\pipe\.

See unit tests for the details.

Module ID

libraryDependencies += "org.scala-sbt.ipcsocket" % "ipcsocket" % "1.0.0"

Why not just use TCP/IP?

TCP/IP is open to everyone on the network, if someone can get hold of your machine, the person could connect to it. This raises security concerns for some usages (like build tools) since it could lead to arbitrary code execution if used without authentication.

License

Apache v2

The server socket code was originally taken from Nailgun project, and client-side was added.

ch.epfl.scala

Scala Center

Versions

Version
1.0.1