Comments (4)
Ah, that makes sense. The docs confused me. I'll take a look and see if it makes sense to extend this or use something else. Thanks!
from react-native-ssdp.
Ah so poking around in the source I see why there's no Server; in your index.js
you have
module.exports = {
Client: require('./lib/client'),
Base: require('./lib/index')
}
So is Base
what Server
actually is? It looks like it might be, in which case the docs on here just need to be updated.
from react-native-ssdp.
Well maybe Base
isn't quite a Server
...it doesn't have a start()
function though it does have _start()
, not sure if that does the same thing, or even what objects I'm dealing with at this point.
from react-native-ssdp.
Hi @acb, thanks for your questions. This is a fork from node-ssdp, so the API and the examples pretend to be the same. However, the SSDP server has not yet been implemented because our main use-cases are as a client.
I can't invest right now time into building the Server API, I however invite you to submit a PR!
from react-native-ssdp.
Related Issues (20)
- Pod install not work HOT 1
- getting NetworkInfo.getIPAddress is not a function HOT 5
- I can not get the example to work HOT 4
- Publish version 2.8.2 to npm HOT 2
- Galaxy S7 is not receiving UDP messages HOT 2
- Documentation: Mention that it doesn't work in Android Emulator HOT 1
- Build failed HOT 6
- Not able to find devices on the network HOT 3
- react-native link command generate code have no change about react-native-ssdp or react-native-udp
- iOS no response HOT 1
- recent version of react-native and npm does not install peer dependencies. please update the docs for the newer versions HOT 1
- A better example on how to use this HOT 5
- null is not an object (evaluating 'self.sock.address') HOT 2
- Usage with expo HOT 1
- Unable to resolve "buffer/"
- Help to bring this library, work as expected in react-native apps. HOT 11
- upgrading react-native-udp dependency to 4.0 will break
- Need a way to setBroadcast from clients HOT 1
- Cannot plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ssdp.