Web Design and Web Development Forum

  1. #1
    Join Date
    Oct 2006
    Posts
    94
    Rep Power
    6
  2. hendy is on a distinguished road
  3. javascript port communication

    hi all....
    i got a question..
    can javascript open a port connection?
    anybody knows?

    thx anyway...
    Reply With Quote Reply With Quote
  4. #2
    Join Date
    Feb 2005
    Location
    Moodles, UK
    Posts
    2,258
    Rep Power
    0
  5. Calamitie will become famous soon enough
  6. Re: javascript port communication

    No :p

    But bear in mind that JavaScript is parsed and "run" by the person's browser and because of that, each browser has its own standards and almost all return differently for obscure functions. Very few comply to the WC3 standard.

    What I'm getting at is that it's up to the browser whether they have socket communication (it's not part of the standard, nor is it expected as far as I know, so don't get your hopes up).

    Hope that helps :)
    Reply With Quote Reply With Quote
  7. #3
    Join Date
    Oct 2006
    Posts
    94
    Rep Power
    6
  8. hendy is on a distinguished road
  9. Re: javascript port communication

    oh...
    i think this page is for testing whether my client has that spesific port opened or not on their PC in order to use my application, before they encounter any other connection problem,
    i think it's best to make sure this common problem solved first..
    thx anyway
    Reply With Quote Reply With Quote
  10. #4
    Join Date
    Sep 2005
    Location
    UK
    Age
    27
    Posts
    807
    Rep Power
    0
  11. bfsog is on a distinguished road
  12. Re: javascript port communication

    What JavaScript application needs to use ports in order to function?
    Reply With Quote Reply With Quote
  13. #5
    Join Date
    Feb 2005
    Location
    Moodles, UK
    Posts
    2,258
    Rep Power
    0
  14. Calamitie will become famous soon enough
  15. Re: javascript port communication

    Quote hendy originally posted: View Post
    oh...
    i think this page is for testing whether my client has that spesific port opened or not on their PC in order to use my application, before they encounter any other connection problem,
    i think it's best to make sure this common problem solved first..
    thx anyway
    You could use PHP to check if they weren't behind a firewall (like a router), but it's pretty pointless.

    Just allow other port configuration options I guess.
    Reply With Quote Reply With Quote
  16. #6
    Join Date
    Oct 2006
    Posts
    94
    Rep Power
    6
  17. hendy is on a distinguished road
  18. Re: javascript port communication

    ok then
    thx all...Gbu
    Reply With Quote Reply With Quote

Similar Threads

  1. Javascript
    By YoungCoder in forum JavaScript Coding
    Replies: 5
    Last Post: 09-25-2004, 04:16 AM
  2. javascript part 9
    By hayabusa in forum Javascript Articles
    Replies: 0
    Last Post: 09-05-2004, 09:16 AM
  3. How to Start Javascript
    By Vio-Bear in forum Javascript Articles
    Replies: 0
    Last Post: 09-05-2004, 09:14 AM
  4. javascript part 2
    By hayabusa in forum Javascript Articles
    Replies: 0
    Last Post: 09-05-2004, 09:02 AM
  5. Javascript part 1
    By hayabusa in forum Javascript Articles
    Replies: 0
    Last Post: 09-05-2004, 09:01 AM