CVSROOT: /cvs/gnome
Module name: gnome-pilot
Changes by: mcdavey 06/02/01 17:03:56
Modified files:
capplet : gnome-pilot-druid.c gnome-pilot-pdialog.c
gpilotd-capplet.glade pilot.c util.c
gpilotd : gnome-pilot-structures.c
gnome-pilot-structures.h gpilotd.c
Log message:
Large-ish commit: fix netsync. See bugzilla.gnome.org #328395.
The approach taken is as follows:
If a 'netsync' device is selected, we create a pi_sock of type "net:any"
and pi_listen to it. This creates a LISTEN socket on port TCP/14238. We pass
a dup of this socket to bonobo. When an incoming connection is found,
we then pi_bind (in pilot-link 0.12.0 this closes the listener...).
To restart the listener, we shut everything down and re-read the configuration
when the sync completes. There may be a neater way of shutting the IO
channel and so on, but this was the first way I managed to get going
reliably.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-pilot&who=mcdavey&date=explicit&mindate=2006-02-01%2017:02&maxdate=2006-02-01%2017:04
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list