[ man7.org ](../../../index.html) > Linux > [ man-pages ](../index.html) |  [ Linux/UNIX system programming training ](http://man7.org/training/)  
---|---  
  
* * *

#  rdma_xclient(1) — Linux manual page

NAME  |  SYNOPSIS  |  DESCRIPTION  |  OPTIONS  |  NOTES  |  SEE ALSO  |  COLOPHON   
---  
|  
      
    
    _RDMA_XCLIENT_(1)                 librdmacm                _RDMA_XCLIENT_(1)
    

##  NAME  top

    
    
           rdma_xclient - RDMA CM communication client test program
    

##  SYNOPSIS  top

    
    
           _rdma_xclient_ [-s server_address] [-p server_port] [-c comm_type]
    

##  DESCRIPTION  top

    
    
           Uses synchronous librdmam calls to establish an RDMA connection
           between two nodes.  This example is intended to provide a very
           simple coding example of how to use RDMA.
    

##  OPTIONS  top

    
    
           -s server_address
                  Specifies the address of the system that the rdma_server
                  is running on.  By default, the client will attempt to
                  connect to the server using 127.0.0.1.
    
           -p server_port
                  Specifies the port number that the server listens on.  By
                  default the server listens on port 7471.
    
           -c communication type
                  Specifies the type of communication established with the
                  server program.  'r' results in using a reliable-connected
                  QP (the default).  'x' uses extended reliable-connected
                  XRC QPs.
    

##  NOTES  top

    
    
           Basic usage is to start rdma_xserver, then connect to the server
           using the rdma_client program.
    
           Because this test maps RDMA resources to userspace, users must
           ensure that they have available system resources and permissions.
           See the libibverbs README file for additional details.
    

##  SEE ALSO  top

    
    
           [rdma_cm(7)](../man7/rdma_cm.7.html), [udaddy(1)](../man1/udaddy.1.html), [mckey(1)](../man1/mckey.1.html), [rping(1)](../man1/rping.1.html), [rdma_xserver(1)](../man1/rdma_xserver.1.html),
           [rdma_client(1)](../man1/rdma_client.1.html)
    

##  COLOPHON  top

    
    
           This page is part of the _rdma-core_ (RDMA Core Userspace Libraries
           and Daemons) project.  Information about the project can be found
           at â¨<https://github.com/linux-rdma/rdma-core>â©.  If you have a bug
           report for this manual page, send it to
           linux-rdma@vger.kernel.org.  This page was obtained from the
           project's upstream Git repository
           â¨<https://github.com/linux-rdma/rdma-core.git>â© on 2023-12-22.  (At
           that time, the date of the most recent commit that was found in
           the repository was 2023-12-20.)  If you discover any rendering
           problems in this HTML version of the page, or you believe there
           is a better or more up-to-date source for the page, or you have
           corrections or improvements to the information in this COLOPHON
           (which is _not_ part of the original manual page), send a mail to
           man-pages@man7.org
    
    librdmacm                      2011-06-15                _RDMA_XCLIENT_(1)
    

* * *

Pages that refer to this page: [ rdma_xserver(1)
](../man1/rdma_xserver.1.html)

* * *

* * *

HTML rendering created 2023-12-22 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.org/tlpi/)  
---|---|---  
  
* * *

[ ![Web Analytics Made Easy -

StatCounter](https://c.statcount