[Twisted-Python] thread created from tcp connection

big_tyo at inf.its-sby.edu big_tyo at inf.its-sby.edu
Wed Mar 5 23:54:11 MST 2008


> Date: Thu, 28 Feb 2008 06:11:58 -0000
> From: glyph at divmod.com
> Subject: Re: [Twisted-Python] thread created from tcp connection

> On 05:59 am, big_tyo at inf.its-sby.edu wrote:
>>The Problem is i still haven't figure out how to send some parameters
>>to a
>>thread that created from established tcp connection.
>
> The real problem is probably that Twisted is not thread safe; you
> probably should not be using threads at all.
>>ps : sorry for the bad english
>
> No problem!  I'm sure my indonesian is much worse :).  Thanks for using
> Twisted.
>
> Since your english is not very good, it would be best if you could
> include Python code with your next message, so we can know exactly what
> you are talking about.
>
>
>

okay here is my source code for server and client for addition, someone
here told me that i shouldn't use twisted to manage tcp connection , well
i still want to swim deeper in twisted tough.

and i add some command for my problem there

thanks for your big help ^^



-----------------------------------
Fakultas Teknologi Informasi
Institut Teknologi Sepuluh Nopember
http://www.ftif.its.ac.id/
-----------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TCPServer2.py
URL: </pipermail/twisted-python/attachments/20080306/6497306a/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TCPClient2.py
URL: </pipermail/twisted-python/attachments/20080306/6497306a/attachment-0001.ksh>


More information about the Twisted-Python mailing list