gosl/src/net.h

7 lines
206 B
C
Raw Normal View History

2013-11-02 17:54:12 +01:00
#include <sys/socket.h> // struct sockaddr
2013-11-02 17:34:02 +01:00
void *get_in_addr(struct sockaddr *sa);
2013-11-02 17:54:12 +01:00
int run_server(const struct prog_info *pinfo);
int run_client(const struct prog_info *pinfo,void(*framecallback)(long));