SimGrid 3.7.1
Scalable simulation of distributed systems
Modules
XBT_sock

Socket handling. More...

Modules

 Socket creation functions
 Retrieving data about sockets and peers
 Using measurement sockets
 Plugin mechanism

Detailed Description

Socket handling.

The model of communications in XBT is very close to the BSD socket one. To get two hosts exchanging data, one of them needs to open a server socket on which it can listen for incoming messages and the other one must connect a client socket onto the server one.

The main difference is that you cannot exchange arbitrary bytes on sockets, but messages. See the Messages section for details.

If you need an example of how to use sockets, check Ping-Pong.


Back to the main Simgrid Documentation page The version of SimGrid documented here is v3.7.1.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated by doxygen