X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=net.h;h=7cfee2eb69d081fd545ba525916796774c9dd706;hb=f85e05c0b3951e7d3119983c118c82d71f2662a3;hp=9b0c83bd608188470d9d39508a8286fcc9aaad8f;hpb=78200714a07173565ecff4adc8d12b87895017f3;p=paraslash.git diff --git a/net.h b/net.h index 9b0c83bd..7cfee2eb 100644 --- a/net.h +++ b/net.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2007 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);