转载时请注明出处和作者联系方式:http://blog.csdn.net/mimepp
作者联系方式:YU TAO <yut616 at sohu dot com>
gupnp是一个upnp的实现,它与libupnp有所不同,它主要是基于gobject和libsoup的:
GUPnP is an object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible.
libsoup:
libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop, to integrate well with GNOME applications.
GTK有很好的跨平台特性。
另外它实现了一些upnp的工具,很类似Intel的upnp工具的:
http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/tools/index.htm#anchor_2
建立一个自己的目录,如:
mkdir
~/
study
cd
~/
study
svn co http:
//
svn.o-hand.com/repos/gupnp/trunk gupnp
svn checkout http:
//
svn.gnome.org/svn/gtk+/trunk gtk
svn checkout http:
//
svn.gnome.org/svn/glib/trunk glib
svn checkout http:
//
svn.gnome.org/svn/libsoup/trunk libsoup
cscope
-
bvqR
sudo apt
-
get
install glade
-
3
gupnp tools是使用glade来设计UI的,所以需要安装glade。
然后主要就是看gupnp中的代码。
作者联系方式:YU TAO <yut616 at sohu dot com>
gupnp是一个upnp的实现,它与libupnp有所不同,它主要是基于gobject和libsoup的:
GUPnP is an object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible.
libsoup:
libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop, to integrate well with GNOME applications.
GTK有很好的跨平台特性。
另外它实现了一些upnp的工具,很类似Intel的upnp工具的:
http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/tools/index.htm#anchor_2
建立一个自己的目录,如:
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
gupnp tools是使用glade来设计UI的,所以需要安装glade。
然后主要就是看gupnp中的代码。