SimGrid
Modules
Sockets
Communication facilities

Socket handling. More...

Modules

 Socket creation functions
 Retrieving data about sockets and peers
 Using measurement sockets
 Using files as sockets

Detailed Description

Socket handling.

The model of communications in GRAS is very close to the BSD socket one. To get two hosts exchanging data, one of them need 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 The classical Ping-Pong in GRAS.


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