| |
Molssi Driver Interface Library
|
Go to the documentation of this file.
25 int tcp_send(
const void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm,
int msg_flag);
26 int tcp_recv(
void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm,
int msg_flag);
int tcp_accept_connection()
Accept a TCP connection request.
Definition: mdi_tcp.c:413
void sigint_handler(int dummy)
SIGINT handler to ensure the socket is closed on termination.
Definition: mdi_tcp.c:32
int enable_tcp_support(int code_id)
Enable support for the TCP method.
Definition: mdi_tcp.c:43
int tcp_listen(int port_in)
Begin listening for incoming TCP connections.
Definition: mdi_tcp.c:209
int tcp_on_recv_command(MDI_Comm comm)
Callback when the TCP method must receive a command.
Definition: mdi_tcp.c:198
Global structures used by MDI.
int tcp_send(const void *buf, int count, MDI_Datatype datatype, MDI_Comm comm, int msg_flag)
Send data through an MDI connection, using TCP.
Definition: mdi_tcp.c:513
int tcp_on_selection()
Callback when the end-user selects TCP as the method.
Definition: mdi_tcp.c:68
int tcp_after_send_command(const char *command, MDI_Comm comm)
Callback after the TCP method has received a command.
Definition: mdi_tcp.c:186
int tcp_request_connection(int port_in, char *hostname_ptr)
Request a connection over TCP.
Definition: mdi_tcp.c:282
int tcp_on_accept_communicator()
Callback when the TCP method must accept a communicator.
Definition: mdi_tcp.c:127
int tcp_on_send_command(const char *command, MDI_Comm comm, int *skip_flag)
Callback when the TCP method must send a command.
Definition: mdi_tcp.c:179
int tcp_recv(void *buf, int count, MDI_Datatype datatype, MDI_Comm comm, int msg_flag)
Receive data through an MDI connection, using TCP.
Definition: mdi_tcp.c:582