is this possible to convert socket into django channels #1661
Unanswered
hemanth-sp
asked this question in
Q&A
Replies: 2 comments
|
I am not sure how you want to integrate django channel with your application. I mean I am not sure whether you want to integrate on the sending side (the one sending data using TCP .... to someone else) / receiving side.
|
0 replies
|
I think there's probably some confusion. TCP connection is a transport layer (4), whereas Websocket/HTTP happens a few layers higher on the application layer (7), so you cant "convert" it. You have to build an abstractions layers to make the data structure conforming the Websocket protocol (or whatever Application Layer Protocol you choose). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi,

I am integrating one device that device will send data using TCP protocol to given IP address this https://www.codegrepper.com/code-examples/python/Recieve+and+send+data+with+tcp+sockets+python works fine, using the IP address but how to convert into Django channels?
All reactions