SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Mar 2005
    Posts
    239
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Websockets - why don't we hear about them more?

    Searching for node, Mongo, Angular, HTML, CSS, jQuery etc etc yields loads of results.

    Searching for Websockets gets you hardly anything.

    And I never see people asking questions about it on tech forums. Indeed, searching here gives very little.

    So why aren't they a big deal? I don't know much about websockets but it seems like it'd be a really useful way of sending data to and from a server or between instances of apps.

    Can someone enlighten me? I'd read around but everything on websockets seems to be from around 2010!

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,145
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    You might have better luck looking for "TCP".

    I've only used it once for a PHP script to detect anonymous proxies.

    But you are right, it does seem they could be a very useful thing.
    My guess why there isn't more is because they are "advanced" programming and, like bitwise etc. aren't used by many.

  3. #3
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,061
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    I'm thinking @SubEffect ; isn't talking about regular sockets but rather HTML5 websockets, i.e., http://code.tutsplus.com/tutorials/s...day--net-13270

    I've been wondering the exact same thing. I personally think that it's too much in it's infancy to be used on a large scale that people are afraid they'll burn their fingers on it.
    The few applications I have seen that use it are very nice though!
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  4. #4
    SitePoint Wizard
    Join Date
    Oct 2005
    Posts
    1,832
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Could this have anything to do with it?

    http://hacks.mozilla.org/2010/12/web...-in-firefox-4/

    December 8, 2010

    Recent discoveries found that the protocol that Websocket works with is vulnerable to attacks.
    I haven't read much chatter about websockets for years. Is that why?

  5. #5
    SitePoint Wizard
    Join Date
    Apr 2007
    Posts
    1,399
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SubEffect View Post
    Searching for node, Mongo, Angular, HTML, CSS, jQuery etc etc yields loads of results.

    Searching for Websockets gets you hardly anything.

    And I never see people asking questions about it on tech forums. Indeed, searching here gives very little.

    So why aren't they a big deal? I don't know much about websockets but it seems like it'd be a really useful way of sending data to and from a server or between instances of apps.

    Can someone enlighten me? I'd read around but everything on websockets seems to be from around 2010!
    My guess is that a lot of people still use auto-refresh ajax calls. Is it the best way? No but, it's working well. Unless you are pulling a lot of data at real time then use WebSockets. If it's refreshing every 5 min then don't use it. Perhaps, people are googling Socket.IO then Websockets.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •