Skip to content

rdma rsocket example,using rpoll to connect multiple clients simultaneously

Notifications You must be signed in to change notification settings

ZhaoHaoRu/RDMA-rsocket-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

overview

This program allows a server to connect multiple clients simultaneously. The client sends the terminal input to the server, and the server replies to the client with the same content

prepare

Ensure that you have the hardware conditions for RDMA

mkdir build
cd build
cmake ..
make

run

  1. open the first terminal
cd build
./server [port]
  1. open other terminal, start the first client

    the ip is server ip, the port is the server port

cd build
./client [ip] [port]
  1. you can open the third terminal, execute the same command as step2 to run another client

About

rdma rsocket example,using rpoll to connect multiple clients simultaneously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published