java - how do i send data from a webpage to port in web server? -



java - how do i send data from a webpage to port in web server? -

which best method send numerical value info javscript webpage web server port.. have server socket programme running on server , listening port 5000. need send info webpage port? best method?

the scene this.

i have c socket programme running @ web server hosted in laptop using xampp. listeing port 5000 , have ip address. in web page, running javascript , when user presses of arrow keys need value sent port.. -1 , downwards -2 etc ...

there isn't way in portable fashion. browsers back upwards the websocket standard, gives limited access sockets, isn't available in mutual browsers other chrome , safari. flash player supports separate xmlsocket protocol, can utilize if flash plugin available. however, neither of these protocols supports raw access sockets -- both require initial negotiation , packet framing.

java javascript c sockets

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -