简体   繁体   中英

Is the following principle the right for autobahn python?

I'm researching about WebSockets atm and just found Autobahn with Autobahn|Python . I'm not sure that I understand the function of that toolset (?) correctly.

My intention is to use a WebSocket-Server for communication between a C program and a HTML client.

The idea is to let the C program connect via WebSocket to the Server and send the calculation progress of the C program to every HTML client that is connected to that WebSocket-Server .

Am I able to write a WebSocket Server with Autobahn|Python and then connect with an HTML5-client and a C program client?

Autobahn|Python provides both a WebSocket implementation for Python and an implementation for a client for the WAMP protocol on top of that.

You can use the WebSocket part on its own to implement your WebSocket server.

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