mirror of https://github.com/yandex/odyssey.git
19 lines
373 B
C
19 lines
373 B
C
![]() |
#ifndef MM_SOCKET_H_
|
||
|
#define MM_SOCKET_H_
|
||
|
|
||
|
/*
|
||
|
* machinarium.
|
||
|
*
|
||
|
* cooperative multitasking engine.
|
||
|
*/
|
||
|
|
||
|
int mm_socket(int, int, int);
|
||
|
int mm_socket_set_nonblock(int, int);
|
||
|
int mm_socket_set_nodelay(int, int);
|
||
|
int mm_socket_set_keepalive(int, int, int);
|
||
|
int mm_socket_set_nosigpipe(int, int);
|
||
|
int mm_socket_error(int);
|
||
|
int mm_socket_connect(int, struct sockaddr*);
|
||
|
|
||
|
#endif
|