SimGrid
3.7
Scalable simulation of distributed systems
|
Typedefs | |
typedef struct s_xbt_socket * | xbt_socket_t |
Opaque type describing a socket. | |
Functions | |
void | xbt_socket_new (int incoming, xbt_socket_t *dst) |
void | xbt_socket_new_ext (int incoming, xbt_socket_t *dst, xbt_trp_plugin_t plugin, unsigned long int buf_size, int measurement) |
xbt_socket_t | xbt_socket_tcp_client (const char *host, unsigned short port) |
Simply create a client socket (to speak to a remote host) | |
xbt_socket_t | xbt_socket_tcp_server (unsigned short port) |
Simply create a server socket (to ear from remote hosts speaking to you) | |
xbt_socket_t | xbt_socket_tcp_client_ext (const char *host, unsigned short port, unsigned long int bufSize, int measurement) |
Create a client socket, full interface to all relevant settings. | |
xbt_socket_t | xbt_socket_tcp_server_ext (unsigned short portcp_t, unsigned long int bufSize, int measurement) |
Create a server socket, full interface to all relevant settings. |
void xbt_socket_new | ( | int | incoming, |
xbt_socket_t * | dst | ||
) |
xbt_trp_socket:
Malloc a new socket with the TCP transport plugin and default parameters.
void xbt_socket_new_ext | ( | int | incoming, |
xbt_socket_t * | dst, | ||
xbt_trp_plugin_t | plugin, | ||
unsigned long int | buf_size, | ||
int | measurement | ||
) |
xbt_trp_socket_new:
Malloc a new socket.
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 ![]() |