X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.h;h=0e93653c033640848b8787a092ff71c37f19d824;hp=143fb812f4c1be20368b93cbb60be26eaeb826fe;hb=631fb4db2cea7bc44e91631957db8cd852fe75ee;hpb=b6e25b286c553ac1f971f3c8e0a736f9e731d2b7 diff --git a/net.h b/net.h index 143fb812..0e93653c 100644 --- a/net.h +++ b/net.h @@ -128,6 +128,7 @@ bool sockaddr_equal(const struct sockaddr *sa1, const struct sockaddr *sa2); /** How many pending connections queue of a listening server will hold. */ #define BACKLOG 10 +int para_listen(unsigned l4type, const char *addr, uint16_t port); int para_listen_simple(unsigned l4type, uint16_t port); /** Pretty-printing of IPv4/6 socket addresses */