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

  • Home
  • SEARCH
  • 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 6760843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:06:46+00:00 2026-05-26T14:06:46+00:00

How can I write a website using HTML5 , CSS and JavaScript on client

  • 0

How can I write a website using HTML5, CSS and JavaScript on client side that will allow direct tcp/ip connection between the client browsers once the page is loaded.

I need to do this to to reduce latency since the site will require that the input from one of the users to be transmitted to the other user as soon as possible so sending data from client A to Server and then to client B is not a good option.

I read previous posts on this subject but there were no working solution/examples available that I could find. From what i read the direct connection between clients can be made using plugins like Silverlight, Java or Flash.

Is there any solution that would not require plugins? I would like to use only JavaScript.

  • 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-05-26T14:06:47+00:00Added an answer on May 26, 2026 at 2:06 pm

    Here on Stackoverflow are several topics about P2P connections in browsers:

    1. Will HTML5 allow web apps to make peer-to-peer HTTP connections?
    2. What techniques are available to do P2P in the browser?
    3. Does HTML5 Support Peer-to-Peer (and not just WebSockets)
    4. Can HTML5 Websockets connect 2 clients (browsers) directly without using a server (P2P)
    5. Is it possible to create peer-to-peer connections in a web browser?
    6. Do websockets allow for p2p (browser to browser) communication?
    7. HTML 5 Peer to Peer Video Possibilities?
    8. Is WebRTC implemented in any browsers yet?

    As mentioned in most of the topicts, both 2008 HTML5 working drafts were having a section “Peer-to-peer connections”:

    • http://www.w3.org/TR/2008/WD-html5-20080122/#peer-to-peer
    • http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#peer-to-peer

    Since the W3C Working Draft 12 February 2009 the section “Peer-to-peer connections” disappeared. But this P2P connection is not gone. It’s back under the name PeerConnection within the WebRTC (Real-Time Communications) specifications:

    • http://dev.w3.org/2011/webrtc/editor/webrtc.html#peerconnection (W3C Editor’s Draft)
    • http://www.whatwg.org/specs/web-apps/current-work/webrtc.html#peerconnection (Since 5th December 2011 forwarded to W3C Editor’s Draft)

    Since 31 October 2011, the W3C Editor’s Draft is an official Working draft:

    • http://www.w3.org/TR/2011/WD-webrtc-20111027/#peerconnection

    The only implementation of the PeerConnection (UDP based) exists in the modified WebKit by the Ericsson labs (May 2011), which is working quite well. Some patches are in WebKit now (Oct. 2011 — see updates below!):

    • https://labs.ericsson.com/apis/web-real-time-communication/
    • https://labs.ericsson.com/developer-community/blog/update-webkit-contributions

    Additionally, the WebRTC initiative is a project by Google, Mozilla and Opera. Thus, they are continuing the specification on PeerConnection:

    • http://www.webrtc.org/

    Probably Chrome (uses WebKit) will be the first major browser supporting WebRTC with PeerConnection:

    • http://www.webrtc.org/blog/firststeptowardchromeintegration
    • http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/95bf1e2e1de852fc
    • https://lists.webkit.org/pipermail/webkit-dev/2011-November/018445.html

    Since 18th January 2012, Chrome is supporting WebRTC as well. It can be uses in the Dev channel (Windows, OSX, Linux) and the Canary build (Windows and OSX) by enabling it under chrome://flags. It only only supports MediaStream like Video and audio and can be tested with several Demos. Transferring application data like String/ArrayBuffer/… is not supported until now.

    Since 16th March 2012, the WebRTC Editor’s Draft separates a “Peer-to-peer Data API” to send and receive generic application data (String, ArrayBuffer and Blob). Chromium wants to implement the Data API soon (10th April 2012).

    On April, 3rd, Mozilla published a first working example on WebRTC for Firefox as well.

    DataChannel is planned for version 25 of Chrome, behind a flag, meanwhile it can be tested in Firefox Nightly/Aurora (12th December 2012):

    • http://updates.html5rocks.com/2012/12/WebRTC-hits-Firefox-Android-and-iOS

    2018: DataChannels are still experimental, but available in current versions of Chrome and Firefox:

    • https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We can write CSS as the following types: Inline CSS Embedded CSS External CSS
Can someone please explain how you can write a url pattern and view that
In SQL one can write a query that searches for a name of a
I'd like to write a new website from scratch. I'll be using PHP for
I am trying to write a web widget which will allow users to display
I've setup a static website on GAE using hints found elsewhere, but can't figure
So, working on a simple website (XHTML and CSS) formatted using a table, I
I'm using django-tinymce in my Django website. Through the admin interface one can edit
I have registration form on my website that, using jquery I append default values
I can write: update my_table set xml = updateXML(xml, '/a/b', '1') where document_id =

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.