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 6344561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:39:48+00:00 2026-05-24T20:39:48+00:00

I currently have my ‘WebSocketMain.swf’ file sitting in the same directory as ‘socket.io.min.js’ but

  • 0

I currently have my ‘WebSocketMain.swf’ file sitting in the same directory as ‘socket.io.min.js’ but Firefox doesn’t seem to want to use flash sockets. It always reverts to XHR-Polling. See test case here : http://thebeer.co/labs/rt/test.php (page is blank, check JS console for feedback).

Is this the right place for it?

Do I need to direct Socket.io to the location of this SWF file?

UPDATE:

My node server requesting minified client js.

var $ = require('jquery'); 
var http    = require('http'),
    url     = require('url'),
    https   = require('https'),
    fs      = require('fs'),
    crypto  = require('crypto'),
    io      = require('../'),
    sys     = require(process.binding('natives').util ? 'util' : 'sys'),
    server = http.createServer(function(req, res){
        res.writeHead(200, {'Content-Type': 'text/plain'});
        res.end();
    });

server.listen(80,"173.201.181.56");
var io = io.listen(server), buffer=[];
io.set('browser client minification', true);//<<minified client js requested here.

My client side including the minified JS:

<script src="http://173.201.181.56:60/socket.io/socket.io.js"></script>
  • 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-24T20:39:49+00:00Added an answer on May 24, 2026 at 8:39 pm

    I see that you decided to host the file your self. Did you know that Socket.IO also serves the client for you? See https://github.com/LearnBoost/Socket.IO/wiki/How-do-I-serve-the-client

    You can even configure it, so it outputs a minified build: https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO

    This client also knows where the location of the .swf file is, so you don’t need to configure anything.

    If you still want to serve the file your self (which is not recommended) You need to set the window.WEB_SOCKET_SWF_LOCATION to http://yoururlhere.com:port/socket.io/static/flashsocket/WebSocketMain.swf or WebSocketInsecure.swf (this depends if you go cross domain or port, but the bundled socket.io client handles this already for you)

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

Sidebar

Related Questions

I currently have an image repeating on y (e.g. background: url() repeat-y ), but
I currently have: Range(Z1).Interior.Color = RGB(255, 255, 255) But this wipes out the borders
Currently have a DataTable, but wish to stream it to the user via a
I currently have some automation written in Sikuli at the Jython layer, but I
i currently have highcharts realtime graph working on a browser (e.g. http://www.highcharts.com/demo/dynamic-update ), but
I currently have a fairly robust server-side validation system in place, but I'm looking
I currently have the following select statement, but I wish to move to full
I currently have the below code, but obviously I am not that skilled on
Currently have a drop down menu that is activated on a hover (from display:none
Currently have password protection on my main and sub directories, however I'd like to

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.