RE: 1 root device and 1 control point in an ap plication

"Weast, Jack" <[email protected]> Thu, 17 Apr 2003 11:07:44 -0700
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <[email protected]>
You should be able to do this no problem.  In your application, simply call
the appropriate device registration routines, as well as the control point
registration routines.  As long as you register callbacks for each your
application should have no problem acting as both a single device and
control point.

-Jack

-----Original Message-----
From: MORIOKA Yasuhiro [mailto:[email protected]] 
Sent: Wednesday, April 16, 2003 5:48 AM
To: [email protected]
Subject: [UPnP-SDK-discuss] 1 root device and 1 control point in an
application


Hi all, 
I have a question.

I know that:
    A libupnp-device-application cannot register 2 or more root devices.
    A libupnp-controlpoint-application cannot register 2 or more control
points.

my quenstion is:
    a libupnp-application can regsiter (and run) 1 root device and 1 control
point, at a time, or not?

For example,
    [CP]---->[ [DEV]-->[CP] ]---->[DEV]
      A                    B                      C

processA is a control point, processB is an upnp device.
processB is also a control point, process C is an upnp device.
In this case, A control C indirectly, through B (for protocol conversion,
etc.),
and I want to make applications like B.

If libupnp doesn't support the feature, 
shoud I device B to 2 process (an upnp device process and a control point
process),
and prepare some non-upnp protocols for connecting between the 2 process?

Thanks&Regards
MORIOKA, Yasuhiro



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
UPnP-SDK-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/upnp-sdk-discuss


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf