NetconUtilities.hpp 261 B

1234567891011
  1. #ifndef _NETCON_UTILITIES_H
  2. #define _NETCON_UTILITIES_H
  3. namespace ZeroTier
  4. {
  5. ip_addr_t ip_addr_sin(register struct sockaddr_in *sin);
  6. ssize_t sock_fd_write(int sock, int fd);
  7. ssize_t sock_fd_read(int sock, void *buf, ssize_t bufsize, int *fd);
  8. }
  9. #endif