mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* Socket methods to be used by an event loop * Git ignore build files * File renames * Some fixes * Fixes * Fixes * Memory leakage fix
10 lines
279 B
C
10 lines
279 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);
|
|
char* recv_ipc_sock(int socket_fd);
|
|
|
|
#endif
|