[feat] add avahi publish service
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "teleportpeer.h"
|
||||
#include "teleportappwin.h"
|
||||
#include "browser.h"
|
||||
#include "publish.h"
|
||||
|
||||
static TeleportAppWindow *win;
|
||||
|
||||
@@ -55,6 +56,7 @@ teleport_app_activate (GApplication *app)
|
||||
g_print("Data: %s\n", teleport_peer_get_ip(peerList, 0, NULL));
|
||||
g_print("Data: %d\n", teleport_peer_get_port(peerList, 0, NULL));
|
||||
*/
|
||||
run_avahi_publish_service("Angela's (self)");
|
||||
run_avahi_service(peerList);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user