mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 00:50:25 +08:00
ff11ee21ef
* Convert to streaming sockets * Formatting
12 lines
313 B
C
12 lines
313 B
C
#ifndef SOCKETS_H
|
|
#define SOCKETS_H
|
|
|
|
/* Helper functions for socket communication. */
|
|
int bind_ipc_sock(const char* socket_pathname);
|
|
int connect_ipc_sock(const char* socket_pathname);
|
|
void send_ipc_sock(int socket_fd, char* message);
|
|
int accept_client(int socket_fd);
|
|
char* recv_ipc_sock(int socket_fd);
|
|
|
|
#endif
|