Using socket programming with django

21 views
Skip to first unread message

CHAITANYA BHATIA 5-Yr IDD Computer Sci. & Engg.

unread,
Oct 25, 2016, 9:41:45 AM10/25/16
to Django users
I have to implement a chat room using socket programming in a web app which uses django but django channel can't be used. I want to know how to redirect the input taken from the webpage into the chat client without calling the chat client function again and again.

GMail

unread,
Oct 25, 2016, 10:21:14 AM10/25/16
to django...@googlegroups.com
Hi!

Django follows basic Request->Response cycle, so it wouldn't be possible without Channels or something similar.

> On 25 Oct 2016, at 11:46, CHAITANYA BHATIA 5-Yr IDD Computer Sci. & Engg. <chaitanya.b...@itbhu.ac.in> wrote:
>
> I have to implement a chat room using socket programming in a web app which uses django but django channel can't be used. I want to know how to redirect the input taken from the webpage into the chat client without calling the chat client function again and again.
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4b67b2cf-ad21-486e-95d9-8a8fe5e5914b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages