Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-02-2002, 09:51 AM   PM User | #1
heddock
New to the CF scene

 
Join Date: Aug 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
heddock is an unknown quantity at this point
Hi all i'm new here but how to make an socket connection with a script

Hi

i want to make an socket sonnection witch 192.168.0.2:8081 and send a string to it how to do this with a javascript

<HEAD>
<TITLE>Go! Menu</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<SCRIPT LANGUAGE="JavaScript1.2" ID="Ex8">
<!--

function go_to_station(){

//HERE I WANT TO MAKE AN SOCKET CONNECTION AND SEND AN STRING CAN SOMEONE HELP ME WITH THAT PLZ

return true;
}

//-->
</script>

</head>
<form name="stationform">
<p align="left">
&nbsp;You need to log in! Enter password!<center>
<p>
<input name="stationtext" size="35" maxlength="35" style="float: left"><input type="button" name="stationbutton" value="Login" onClick="go_to_station()" style="float: left"></form>
<p>&nbsp;</p>

tnx greetings heddock
heddock is offline   Reply With Quote
Old 08-02-2002, 03:51 PM   PM User | #2
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
you mean as in a FTP Program socket connection?

if so then no you can't do that in javascript, i would suggest using a server-side language.

And if thats not what you mean i would still suggest using a server-side langauge hehe
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:06 AM.


Advertisement
Log in to turn off these ads.