upnp

android : Find UPnP devices from network

坚强是说给别人听的谎言 提交于 2019-12-06 11:11:05
问题 I am making application in which i want to find the list of the UPnP devices that are connected to my network from my android application . Any idea how can i do this.. I am using the API of the cybergarage...here is the link of the repository... https://cgupnpjava.svn.sourceforge.net/svnroot/cgupnpjava/trunk/cyberlink/upnp-stack/src/main/java/org/cybergarage/ Any one who has work or has been working on UPnP Complianted Application development, can help me out. Thank you 回答1: I have a created

How to Implement uPnP on Delphi XE2

老子叫甜甜 提交于 2019-12-06 10:43:03
问题 I have a Http server implemented using indy TidHTTPServer on Delphi XE2. This product is mostly used for intranet, however sometimes it is needed to be accessed from internet also. The target customers are small companies, and for this PnP capabilities is a must. For internal use this server uses the current IP from the server and try to assign the port 8888. I want to discover a wandevice on the network that can let me ask for port routing. I am not sure port routing is the best solution

Trying to get NAT's external IPAddress with INATExternalIPAddressCallback in C#

久未见 提交于 2019-12-06 07:55:29
问题 How do I get the external IP Address of a NAT using the windows library? I am trying to find any information on INATExternalIPAddressCallback, but have only found one example in C++ using unavailable interfaces to C#. Any guidance would be much appreciated. -Karl 回答1: Sorry, that I don't answer with an existing API from Windows that uses the UPNP service, but it migh help you You could also use a STUN-server on the internet, there are many open ones, every VOIP provider has one. http://en

How to publish file server service to local network?

依然范特西╮ 提交于 2019-12-06 06:09:56
问题 My question is about "automatic discovery of file server service on local network". I want to implement a service which is file server basically and publish it on local network. Client PC which is connected to local network should find this service automatically and map (mount) network drive without user's intervention. As I look through web shortly, I think "Bonjour" for Apple and "UPnP" for Windows is best option to implement this kind of feature. Is this right assumption? Do you know any

UDP/TCP hole punching vs UPnP vs STUN vs?

独自空忆成欢 提交于 2019-12-06 02:26:35
问题 I try to make a P2P Program and need help with getting through the NAT of the clients. I have read many questions here on stackoverflow, but i never got what the drawbacks and benefits of all the Methods to get through a NAT are. How many routers support which methods? Which methods are commonly used by the big companies? (BitTorrent, TeamViewer,...) What are the drawbacks/benefits of the three methods i listed and which else exists? 回答1: UPnP requires software support in your router. Even

TCP hole punching on iPhone

孤街醉人 提交于 2019-12-06 01:14:17
问题 I have done a bit of reading, and although I'm new to iPhone networking I was wondering if a TCP hole punch is possible for connecting two iPhones through NAT. I also read some helpful things about uPnP and hairpinning but I'm not to familiar with those at all, so if anyone has any ideas as to whether or not this is possible. My goal is to be able to connect multiple iPhones over a large range (so it may be better to switch to some type of GPSR) but for now I'm only working with two iPhones

Python UPnP/IGD Client Implementation?

半城伤御伤魂 提交于 2019-12-04 17:40:40
问题 I am searching for an open-source implementation of an UPnP client in Python, and more specifically of its Internet Gateway Device (IGD) part. For now, I have only been able to find UPnP Media Server implementations, in projects such as PyMediaServer, PyMedS, BRisa or Coherence. I am sure I could use those code bases as a start, but the Media Server part will introduce unneeded complexity. So can you recommend a client UPnP (and hopefully IGD) Python library? An alternative would be to

How to Implement uPnP on Delphi XE2

99封情书 提交于 2019-12-04 15:13:12
I have a Http server implemented using indy TidHTTPServer on Delphi XE2. This product is mostly used for intranet, however sometimes it is needed to be accessed from internet also. The target customers are small companies, and for this PnP capabilities is a must. For internal use this server uses the current IP from the server and try to assign the port 8888. I want to discover a wandevice on the network that can let me ask for port routing. I am not sure port routing is the best solution either, I am not familiar with the possibilities. However I prefer the most widely available possibilities

SSDP and interface IP address

最后都变了- 提交于 2019-12-04 14:28:53
I'm writing a UPnP AV / DLNA DMS which needs to send and receive SSDP messages. In response to some M-SEARCH packets I need to send a reply with the URL of a resource (in this case a HTTP server), which I've chosen to bind to INADDR_ANY ( 0.0.0.0 ). Of course this address is meaningless to the sender of the M-SEARCH packet: The address of the interface on which the M-SEARCH was received is most appropriate. How can I determine the appropriate address to send in the reply packet? Some ideas I've considered are: Binding a different receiver to each socket. When a receiver gets an M-SEARCH packet

How can I add a prefix to a WCF ServiceContract Namespace

孤人 提交于 2019-12-04 13:03:21
I'm trying to implement an UPnP MediaServer in WCF. I'm slowly getting there, but now I've hit a brick wall. I need to add a prefix to the ServiceContract namespace. Right now I have the following: [ServiceContract(Namespace = "urn:schemas-upnp-org:service:ContentDirectory:1")] public interface IContentDirectory { [OperationContract(Action = "urn:schemas-upnp-org:service:ContentDirectory:1#Browse")] void Browse(string ObjectID, string BrowseFlag, string Filter, ulong StartingIndex, ulong RequestedCount, string SortCriteria, out string Result, out ulong NumberReturned, out ulong TotalMatches,