ray/sockets.h
Stephanie Wang 73f4b96253 Sockets (#3)
* Socket methods to be used by an event loop

* Git ignore build files

* File renames

* Some fixes

* Fixes

* Fixes

* Memory leakage fix
2016-09-15 16:28:52 -07:00

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