MAX_ENTRIES increased to 128.
[gnutls.git] / src / udp-serv.h
blobae0b39503bbb0c5948e2a4ccb7de2765fe3fa7a0
1 /*
2 * Copyright (C) 2011-2012 Free Software Foundation, Inc.
4 * This file is part of GnuTLS.
6 * GnuTLS is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * GnuTLS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #include <gnutls/dtls.h>
22 void udp_server(const char* name, int port, int mtu);
23 gnutls_session_t initialize_session (int dtls);
24 const char * human_addr (const struct sockaddr *sa, socklen_t salen,
25 char *buf, size_t buflen);
26 int wait_for_connection(void);
27 int listen_socket (const char *name, int listen_port, int socktype);