]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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)
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().


No differences found