CROSS-NET is a simple FRP server and client
- [ReflectionFX] Java reflect library
- [GSON] A Java serialization/deserialization library to convert Java Objects into JSON and back
- [error-prone-annotations] Annotations for Error Prone, a static analysis tool for Java that catches common programming mistakes at compile-time.
Run on client or server
./cross {client|server}Property file: ./cross-net.json
{
"log": "./logs",
"server-ip": "127.0.0.1",
"server-port": 12138,
"communication":
{
"connect": 10000
},
"mapping":
[
{
"listen-port": 8081,
"locale-port": 8080,
"timeout": 2000
}
]
}$.log: Where the log file will place in.$.server-ip: FRP Server ip address.$.server-port: FRP Server port.$.communication.connect: Time interval for auto reconnect for communication, in ms.$.mapping: A list for mapping server port to client port.$.mapping[x].listen-port: Server port, FRP Server will open listen on this port.$.mapping[x].locale-port: Client port, FRP Client will connect to127.0.0.1:${locale-port}.$.mapping[x].timeout: Connect/Read/Write timeout, in ms.