]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.h
Replace the ortp sender/receiver by the generic udp sender/receiver.
[paraslash.git] / net.h
diff --git a/net.h b/net.h
index 0cb2767c72181e4d98222fbf6c8d6f54f312071e..54657f8baa84238456f18f239e19267452340858 100644 (file)
--- a/net.h
+++ b/net.h
@@ -61,3 +61,6 @@ int recv_pattern(int fd, const char *pattern, size_t bufsize);
 void enable_crypt(int fd, crypt_function *recv_f, crypt_function *send_f,
        void *private_data);
 void disable_crypt(int fd);
+int create_udp_recv_socket(char *hostname, unsigned short port);
+int create_udp_send_socket(char *hostname, unsigned short port,
+               unsigned char ttl);