I would like to use the UDP boardcast to tell the lan devices here is a XX-device. It is the same scenarios as the mDNS/Zeroconf for the printer.
However, as my know, Windows supporting with zeroconf is bad. The most simple way to implement zero-conf on windows is to use the Bonjour library. But, Bonjour runs as a service, it brings the end-user unfriendly.
Could any one give me some suggestion to achieve this goal ? What protocol could be my choice ? Or, is there a zero-conf libraries working on Windows (both 7 and 10) ? The broadcast and discover both run on Windows.
Thank you.
I'm just investigating this as well. What I've found is that DnssdServiceInstance seems to be the way to go when it comes to UWP apps. Exactly how to use it I've not been able to figure out yet.
Hope this helps.
/Fredrik
Related
I'm trying to port a video player Android App to a Web App. The app uses a library called "libSwiftP2P.so".
From looking at the code of the app, all I managed to figure out is that it connects to a STUN server and uses libSwift for Peer-To-Peer connections.
There isn't much information about libSwift online. The only somewhat useful results I found was this GitHub repository, and the libswift.org website, neither of which have been updated in the last 5 years.
I understand that there is a high chance that what I am trying to do is near to impossible. Although both technologies utilize P2P, WebRTC and libSwift might be completely incompatible with one another.
Another option I considered was compiling libSwift's C++ code into WebAssembly, and using that to connect.
However, I haven't ever done anything with WASM and it is probably a way more complicated process than I am putting it.
I would be very grateful if someone could shed some light on this, or if you just tell me that it's not possible, and to give up. Thank you.
I would like to implement a video / audio call feature from a browser. The goal is to allow two users to communicate remotely without having to install a third part (when I say third part, I'm talking about a software or an extension on a browser).
I know WebRTC, which is very popular today and free. However, it is very difficult to implement and the documentation is difficult to understand (not very easy for a beginner).
Here is the official webRTC documentation, and honestly, where to start? https://webrtc.org/start/
If you have an experience about WebRTC, is it possible to share with positive or negative points? This would be very useful for the community.
Moreover, if you have experience with another library, I think it would be interesting to hear it.
There is no other way to develop a call service in a website without the use of WebRTC today.
The alternatives are:
Use WebRTC
Use Flash (which is... dead)
Use a plugin (which is... dying as a mechanism in browsers)
Use an app you download (not exactly a service in a website)
Node.js is the way to go, but you will need to learn some new technology, especially when it comes to the backend.
The servers you will need are:
1. The traditional web application server
2. A signaling server (the one you plan on using Node.js for - you can use that for the web application server as well)
3. A STUN/TURN server (for NAT traversal)
4. Maybe a media server, depending on your use case
For some alternative open source and commercial products, you can check this WebRTC Developer Tools Landscape
I writing a mac application and i need to discover other Macs/PCs/iPhones/iPads connected to the same WIFI network.
Bonjour seems to be the most reasonable choice, but it turned out that it has problems on many types of routers (on mine for example, is not working as it blocks Bonjour services).
I just need to find iPs of devices, then i will try to connect to an application-specific port to determine if my process is running there.
What is the best approach to accomplish this task, without violating the App store Sandboxing?
ARP was the first answer which came to my mind. Does your network-setup allows this?
Is there a library or open sourced Obj C code that will let me sniff for all advertised Bonjour services on a network? Best if it works on Mac OS X or iOS.
Thx all.
You're spoilt for choice.
OS X ships with the mdns command for registering and browsing services on the link-local network. To browse for advertised websites (normally services of type _http._tcp.) you'd do this:
mdns -B _http._tcp
And a list will return and update pretty much instantly as things appear/disappear. Yes, it's open-sourced. Apple's C-based implementation of multicast DNS (both library and tools) compiles without much hassle on most *NIXes.
If you're looking for a GUI tool, I find the bonjour browser app from Tildesoft pretty useful.
If you don't want to use mdns to advertise your own services try the network beacon.
I have an idea for developing an app to be installed in a GPS receiver,this app should be able to communicate with a server.The connection could either be established through a cell phone network or internet or any suggestions.
Is this possible?
Can anyone help with suggestions?
Whats the best programming language would be more appropriate?
Any GPS devices that has this capability?
Thanks
It's very easy to do this, you can have a look at gpsd.
basically just com port communication and change NMEA formats, and send your info back to your server over the net.
I did my one with ruby under linux without addition library other than native.
For your question:
I would say any language you are comfortable will do. OS is not important, even on a ARM linux it should be okay.
Most gps should work, as long as they are NMEA formats. for more info you can have a look at http://gpsd.berlios.de/hardware.html