mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-02 11:16:15 +00:00

- Previous commits has been reported in the ChangeLog file - hg log has been lost (moved inside ChangeLog) - Old radare1 repository has removed all the libr
14 lines
431 B
C
14 lines
431 B
C
#ifndef _INCLUDE_SOCKET_H_
|
|
#define _INCLUDE_SOCKET_H_
|
|
|
|
int r_socket_ready(int fd, int secs, int usecs);
|
|
int r_socket_read(int fd, unsigned char *read, int len);
|
|
int r_socket_write(int fd, unsigned char *buf, int len);
|
|
int r_socket_connect(char *host, int port);
|
|
int r_socket_listen(int port);
|
|
int r_socket_accept(int fd);
|
|
int r_socket_fgets(int fd, char *buf, int size);
|
|
void r_socket_printf(int fd, const char *fmt, ...);
|
|
|
|
#endif
|