]> git.tue.mpg.de Git - paraslash.git/commit
The sync filter.
authorAndre Noll <maan@systemlinux.org>
Fri, 6 Sep 2013 23:28:35 +0000 (23:28 +0000)
committerAndre Noll <maan@systemlinux.org>
Wed, 1 Jan 2014 17:53:04 +0000 (17:53 +0000)
commitbb4e94595a1e57e66deacd4efc3512d947f16f19
tree8af313e5572f279f48182621154ee77c543b59b4
parentae5e9dbcaaad643039e44c85891b3d7b383b23dd
The sync filter.

This adds a new filter for synchronization between clients. It works
by sending an UDP packet to other clients ("buddies").

To reduce latency, address resolution is only performed once on
startup.  Hence lookup_address() and makesock_addrinfo() of net.c
are made public.

This commit introduces new public function sockaddr_equal() in
net.c which compares two IPv4 or IPv6 addresses. It is used in
sync_find_buddy().
configure.ac
error.h
m4/gengetopt/sync_filter.m4 [new file with mode: 0644]
net.c
net.h
sync_filter.c [new file with mode: 0644]