Thanks! that works for me, now I set a Timeout in server and I can check
if client is connected every 10 seconds.
But now I have a last question about what's the better way to delete the
User(avatar) instance when the logout is done. In my logout method I
delete database entries about the disconnec
I'm trying to develop a simple application that let communicate two
computers in a LAN for transferring files. My idea is that:
using dbus/zeroconf each machine can see other's service and can connect
with it (I need something without authentication or so)
having a lan with 2 machines
A asks B i
I've got a server application that listens on a port, and when clients
connect, spawns another TCP service on a random port that can live
from a few seconds, up to a day or two.
I had some problems getting this to work with
twisted.application.internet.TCPServer (my services wouldn't stop
listenin
you can call 'disownServiceParent' when you don't want them to be in service
any more. That will cause it to stop listening.
http://twistedmatrix.com/documents/10.0.0/api/twisted.application.service.Service.html#disownServiceParent
On Tue, May 11, 2010 at 5:47 PM, Donal McMullan wrote:
> I've g
On 02:57 am, newpt...@gmail.com wrote:
>On Mon, May 10, 2010 at 8:17 AM, Andrew Francis
> wrote:
>>Hi Peter:
>
>>I think things get more complex when one is dealing with multiple end-
>>points in sequence (now callbacks are chained) or one is using
>>iterators (cooperators/coiterators now needed
On Wed, 2010-05-12 at 00:17 +1200, Donal McMullan wrote:
> I don't really grok the TAC thing yet, or why there's a different
> method for spawning servers within an Application. Is my listenTCP
> approach bad practice for some reason that's not apparent to me?
Services are things that can be star
Hi Godson - thanks for the reply... I had tried disowning the parent.
I was actually getting unexpected behaviour on setServiceParent, but
that's another story. I'll try again with TCPServer tomorrow, but for
now I'm just keen to know if there are any bad interactions between
Applications and liste
On 12 May 2010 01:02, Itamar Turner-Trauring wrote:
> On Wed, 2010-05-12 at 00:17 +1200, Donal McMullan wrote:
>
>> I don't really grok the TAC thing yet, or why there's a different
>> method for spawning servers within an Application. Is my listenTCP
>> approach bad practice for some reason that'
On 08:31 am, gabr...@cttc.upc.edu wrote:
>Thanks! that works for me, now I set a Timeout in server and I can
>check
>if client is connected every 10 seconds.
>But now I have a last question about what's the better way to delete
>the
>User(avatar) instance when the logout is done. In my logout met
On 2010.05.11 12:20:27 +0200, Gabriele Lanaro wrote:
> I'm trying to develop a simple application that let communicate two
> computers in a LAN for transferring files. My idea is that:
>
> using dbus/zeroconf each machine can see other's service and can connect
> with it (I need something without
Hi Ray,
that is a great news! I'm already using it in a project. Did I miss a
wiki/page for it or so far none exists? Considered putting the source up
to http://github.com or similar site to allow for easy following the
code, extending & fixing issues?
Cheers, Petr
Ray Cote wrote:
> Hello Twi
You can do with Pb and Consumer/Producer. Things that use low level
interfaces such as sendfile on linux will be more efficient and you
may want to consider setting up an http server and just handing out
links.
2010/5/11, Gabriele Lanaro :
> I'm trying to develop a simple application that let comm
Hi Petr:
Glad to hear you're finding the txriak module useful.
Guess I need to make sure that all the listing pages are pointing to each
other, and that they eventually point to the bitbucket sources.
Look forward to hearing feedback.
Thanks
--Ray
- Original Message -
From: "Petr Mif
Just FYI: The problem appears to have gone away with some minor
changes. We have twisted in use in a large application, which
consists of many threads. These threads were invoking some
twisted-related methods; for example, calling addCallback on a
Deferred instance from one thread, while running
14 matches
Mail list logo