How to create socket (connect to host) in javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Moonlit

    #1

    How to create socket (connect to host) in javascript

    Hi,

    I wondered is it possible to connect to a host from javascript. I know how
    to do (and have done) it from java, however I would like to create an
    application with only javascript, that would be able to communicate with a
    server (the same server the script and html pages reside on).

    I spend some hours searching the net and dejanews but couldn't find an
    answer (unfortunately javascript connect -database etc. are not very
    selecting terms).

    Any help greatly appreciated.

    Regards, Ron AF Greve


  • Janwillem Borleffs

    #2
    Re: How to create socket (connect to host) in javascript


    "Moonlit" <newADDS@moonli t.xs4all.nl> schreef in bericht
    news:3f2c63bf$0 $49114$e4fe514c @news.xs4all.nl ...[color=blue]
    > Hi,
    >
    > I wondered is it possible to connect to a host from javascript. I know how
    > to do (and have done) it from java, however I would like to create an
    > application with only javascript, that would be able to communicate with a
    > server (the same server the script and html pages reside on).
    >[/color]

    Read the faq: http://jibbering.com/2002/4/httprequest.html


    JW



    Comment

    Working...