cwoebker
cwoebker

Reputation: 3288

Custom TCP/IP server in django webapp?

I was going to write this website for communicating with others and i want to implement a desktop app too so now I was wondering whether is is possible to integrate a python, maybe twisted tcp ip server within django so that both the site and the custom tcp could run alongside each other...?

Thanks in Advance

Upvotes: 1

Views: 1096

Answers (4)

Seungyeon Kim
Seungyeon Kim

Reputation: 1

imdjango (Instantly-made Mobile-server on Django) project started yesterday. You may use it to make both mobile server and web server on one django project.

Upvotes: -1

AKX
AKX

Reputation: 168967

You could use any of the COMET-y methods that work on top of HTTP for (almost-)realtime communication if you don't want to go through the hassle (and possible fragility) of your own TCP/IP server.

Upvotes: 0

cwoebker
cwoebker

Reputation: 3288

http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/

http://www.clemesha.org/blog/realtime-web-apps-python-django-orbited-twisted

these two things helped a lot for me.. and i am pretty sure i can fix it now

Upvotes: 0

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798626

What for. Make your desktop app speak HTTP and use an alternate API provided by another application.

Upvotes: 2

Related Questions