Faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 4 people (50%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

Can Javascript open a http port and put any data received into a string?

Apr 8th, 2008 18:16
ha mo, Dave Clark, pete blogges,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pete,
     By itself, No.  However, you can use the XMLHttpRequest object to 
send and receive HTTP requests and response, respectively.  The use of 
this object is part of what is now called AJAX.  Just as DHTML is 
merely about using JavaScript to "D"ynamically modify the "HTML" 
markup of the current web document, AJAX is a fancy acronym 
for "A"synchronous "Ja"vaScript and "X"ML -- but is not just for XML 
requests.  See this document for more information regarding the 
XMLHttpRequest object:
http://jibbering.com/2002/4/httprequest.html
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com