简体   繁体   中英

Web Browser to create socket connection to the local machine.

I am very new to Web technology. Sorry if the question is very basic.

1) There is a website called xyz.com.

2) Assume my system is having a daemon process which can interact with socket.

3) When i click on xyz.com, i need to interact with the local machine socket provided by daemon process.

ie: communication between the web browser, and local machine, without server interaction.

QUESTIONS:

Is it possible ? if so, kindly suggest which tools that i can use?

HTML5?

You should check this article out first. HTML5 spec include a websocket API that allows you to do just that. But before any client usage, you need a server implementation first. NodeJS already have a SocketIO, and a PEAR package has been made available. Please check your server side availability before any implementation.

Angela

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM