Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8392061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:25:22+00:00 2026-06-09T19:25:22+00:00

What I’m trying to do is create and communicate to an embedded wifi device

  • 0

What I’m trying to do is create and communicate to an embedded wifi device (much like an arduino board) that doesn’t have any frills at all. It basically accepts a socket and listens for information and responds.

The complete extent is that I’m using PhoneGap in order to make the application cross device compatible.

I had planned to try and make TCP sockets using a javascript plug in of some kind, however all of the plugins i’ve come across require server side scripts (not possible in this case). I can always put a gateway computer between the android and iOS devices, but that seems inefficient if I can just create a browser socket.

So my question is does anyone know of a javascript plugin that can create TCP sockets without server side scripting?

If not, do you think it would be possible for me to create a plug-in for PhoneGap that makes calls to the native SocketHandler Code?

Actually, do they already have a plug-in that would allow you to use the Native TCP Sockets via javascript?

I hope my questions makes sense. Basically looking for a way to send small serial communications via TCP/IP over a web browser on a mobile device.

Anybody know abou this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:25:23+00:00Added an answer on June 9, 2026 at 7:25 pm

    There are a few plugins available for PhoneGap networking. Three of them are:

    • iOS, Android, WP8: https://github.com/blocshop/sockets-for-cordova
    • Android: https://github.com/Habel/TCPSockets
    • iOS: https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/GapSocket

    These should give you network-layer sockets that can send TCP requests.

    As for WebSockets: WebSockets (hereafter “WS”) are an application-layer protocol, like HTTP or XMPP. You can implement WS using TCP yourself, since WS sits on top of TCP.

    If Android’s WebView can send WS requests natively, you should use that instead. WS is nothing more than a protocol that sits on TCP and looks kind of like HTTP. Just use a WebSocket server library like ws2py for Python or ws for Node.js. Only use TCP if you need to connect to an existing service that doesn’t understand or accept WebSockets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm trying to create an if statement in PHP that prevents a single post
Basically, what I'm trying to create is a page of div tags, each has
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I don't have much knowledge about the IPv6 protocol, so sorry if the question
I am trying to loop through a bunch of documents I have to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.