X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.h;h=7cfee2eb69d081fd545ba525916796774c9dd706;hp=9b0c83bd608188470d9d39508a8286fcc9aaad8f;hb=48d037e4ff6f055f1b01dc7ae3d0c778c30821bf;hpb=78200714a07173565ecff4adc8d12b87895017f3 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);