X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.h;h=7cfee2eb69d081fd545ba525916796774c9dd706;hp=0cb2767c72181e4d98222fbf6c8d6f54f312071e;hb=48d037e4ff6f055f1b01dc7ae3d0c778c30821bf;hpb=c8862b9e246b4ef6ff1fe103946e18cf2537ecde diff --git a/net.h b/net.h index 0cb2767c..7cfee2eb 100644 --- a/net.h +++ b/net.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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);