SimGrid  3.7
Scalable simulation of distributed systems
Functions
Using files as sockets
Sockets

Functions

xbt_socket_t gras_socket_client_from_file (const char *path)
xbt_socket_t gras_socket_server_from_file (const char *path)

Detailed Description

For debugging purpose, it is possible to deal with files as if they were sockets. It can even be useful to store stuff in a portable manner, but writing messages to a file may be strange...

Bug:
Don't use '-' on windows. this file represents stdin or stdout, but I failed to deal with it on windows.

Function Documentation

gras_socket_client_from_file:

Create a client socket from a file path.

This only possible in RL, and is mainly for debugging.

gras_socket_server_from_file:

Create a server socket from a file path.

This only possible in RL, and is mainly for debugging.


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