Skip to content

smallnest/rsocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsocket

rsockets is a protocol over RDMA that supports a socket-level API for applications. rsocket APIs are intended to match the behavior of corresponding socket calls, except where noted. rsocket functions match the name and function signature of socket calls, with the exception that all function calls are prefixed with an 'r'.

This project encapsulates rsocket, provides an interface compatible with net.Conn, can be directly replaced with net.Conn, provides a more convenient interface, can directly use the encapsulated interface of rsocket, or use the interface of net.Conn. This project is based on RDMA, so the performance will be better than net.Conn.

GitHub GoDoc

This project is developing so don't use it in production environments.

Usage

Some examples of using rsocket are provided in the examples directory. The examples contains a simple TCP/UDP echo server and client.

Notice: udp doesn't work

Reference