habel / tcpsockets Goto Github PK
View Code? Open in Web Editor NEWAn interface for sending messages with TCP in phonegap.
An interface for sending messages with TCP in phonegap.
Hi there, I'm not sure if you're aware of this, but there are multiple issues with this plugin. I'm not familiar with how one "comments" on an app so I thought I'd leave them here in an "Issue".
Throughout your documentation you refer to "TCPSocket" whether in the case of the .js file or the .java file, both seem to be named incorrectly, the actual files seem to be "TCPSockets.js" and "TCPSockets.java".
In the file TCPSockets.js your return statement looks like the following:
return PhoneGap.exec(successCallback,
failureCallback,
'TCPSocketsPlugin',
'sendMessage',
{
port: this.port,
host: this.host,
message: this.message
};
As you may notice, there is a bracket missing at the end just before the semi-colon. I'm also not sure if this is an issue but you seem to call the plugin by the name "TCPSocketsPlugin" when it is named "TCPSockets" in the java file.
Finally, in the TCPSockets.java file the first line of code reads that the package is listed under "com.habel.plugin.sockets" while in the documentation it seems to be listed as "com.habel.sockets" - are these correct?
Thank you for the time and effort put into the project as a whole, and have a good day!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.