[Twisted-Python] Create a standalone Unix executable for a Twisted application?

2008-12-01 Thread Alessio Pace
l anything) which do *not* have Python and Twisted (and not even GCC). Thank you in advance for any suggestion. Regards, Alessio Pace. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listin

Re: [Twisted-Python] Create a standalone Unix executable for a Twisted application?

2008-12-01 Thread Alessio Pace
some sort of configuration to specify, but it's already something! :-) Regards, Alessio Pace. On Mon, Dec 1, 2008 at 2:57 PM, Jean-Paul Calderone <[EMAIL PROTECTED]>wrote: > On Mon, 1 Dec 2008 14:45:37 +0100, Alessio Pace <[EMAIL PROTECTED]> > wrote: > >> Hi, &g

[Twisted-Python] Running commands / collecting datas via SSH on many machines: Twisted vs plain old scripts ?

2008-12-09 Thread Alessio Pace
ffective solution for this case. Thanks in advance, Alessio Pace. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Running commands / collecting datas via SSH on many machines: Twisted vs plain old scripts ?

2008-12-10 Thread Alessio Pace
plain scripts calling ssh. But I would like to switch to Twisted for the aforementioned reasons. Thanks. -- Alessio Pace > > > -- > /s > > On Tue, Dec 9, 2008 at 3:55 AM, Alessio Pace <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > I have to run command

[Twisted-Python] How to listen on and connect from same TCP port with Twisted?

2009-01-09 Thread Alessio Pace
ddr, 12345, client_factory, 30, (source_addr, 12345)) ### I've tried to look on the Internet and in the source code but I've not found a proper solution. Thanks in advance for any suggestion. Alessio Pace. ___ Tw

Re: [Twisted-Python] How to listen on and connect from same TCP port with Twisted?

2009-01-09 Thread Alessio Pace
nd they suggested to do so.. Regards, -- Alessio Pace. > > > --- > Alvin > > On Fri, Jan 9, 2009 at 9:23 PM, Alessio Pace wrote: > >> Hi, >> >> I would lilke tro listen on a given TCP port and initiate multiple TCP >> client connections from the same p

Re: [Twisted-Python] How to listen on and connect from same TCP port with Twisted?

2009-01-10 Thread Alessio Pace
On Fri, Jan 9, 2009 at 3:29 PM, Jean-Paul Calderone wrote: > On Fri, 9 Jan 2009 15:13:10 +0100, Alessio Pace > wrote: > >> On Fri, Jan 9, 2009 at 3:01 PM, Alvin Delagon wrote: >> >> You shouldn't bind your client on a port where your server is listening >>

Re: [Twisted-Python] How to listen on and connect from same TCP port with Twisted?

2009-01-12 Thread Alessio Pace
On Sat, Jan 10, 2009 at 10:24 AM, Alessio Pace wrote: > > > On Fri, Jan 9, 2009 at 3:29 PM, Jean-Paul Calderone wrote: > >> On Fri, 9 Jan 2009 15:13:10 +0100, Alessio Pace >> wrote: >> >>> On Fri, Jan 9, 2009 at 3:01 PM, Alvin Delagon >>> wrote: &

[Twisted-Python] connectTCP() passing a ClientFactory: how to get the local port of the created client socket?

2009-01-13 Thread Alessio Pace
n the ClientFactory has a buildProtocol(self, addr) method, but 'addr' is the address of the remote endpoint of the client socket created.. Thanks in advance for any suggestion. Regards, Alessio Pace. ___ Twisted-Python mailing list

Re: [Twisted-Python] connectTCP() passing a ClientFactory: how to get the local port of the created client socket?

2009-01-13 Thread Alessio Pace
On Tue, Jan 13, 2009 at 3:42 PM, Jean-Paul Calderone wrote: > On Tue, 13 Jan 2009 15:34:19 +0100, Alessio Pace > wrote: > >> Hi, >> >> I'm having some difficulties in trying to figure out how to get a >> reference >> to the connector or anyway the loc

[Twisted-Python] TCP: can't redo connectTCP() from same local port if server did not explicitly close connection ??

2009-01-15 Thread Alessio Pace
.0.0.1 Comment/uncomment line number 21 to see the affected behaviour. Sorry for the "please download and verify" approach, but it's 2 days I'm struggling with it and I was wondering if there is really something I'm doing wrong or

Re: [Twisted-Python] TCP: can't redo connectTCP() from same local port if server did not explicitly close connection ??

2009-01-15 Thread Alessio Pace
Hi, On Thu, Jan 15, 2009 at 1:58 PM, Jean-Paul Calderone wrote: > On Thu, 15 Jan 2009 11:44:44 +0100, Alessio Pace > wrote: > >> Hi, >> >> I would like to have a client connect via TCP to a server (say, server >> "A"), >> then the client cl

[Twisted-Python] A Java protocol on Twisted?

2009-01-25 Thread Alessio Pace
gards, -- Alessio Pace. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] How to write (network) integration tests with Twisted?

2009-01-26 Thread Alessio Pace
I was wondering what's the suggested way to deal with this kind of situation. Sorry if perhaps it is documented somewhere on the Twisted doc but apart from the mention to "Trial" (which I'm not sure responds to my needs) I haven't found much. Thanks in

Re: [Twisted-Python] How to write (network) integration tests with Twisted?

2009-01-26 Thread Alessio Pace
On Mon, Jan 26, 2009 at 12:09 PM, Drew Smathers wrote: > On Mon, Jan 26, 2009 at 4:02 PM, Alessio Pace > wrote: > > Hi, > > > > I would like to put in my suite of tests some integration tests which > deal > > with running some exchange of messages among 2 endp

Re: [Twisted-Python] Re: How to write (network) integration tests with Twisted?

2009-01-26 Thread Alessio Pace
(as I see it's in a branch) ? Thank you. Regards, Alessio Pace On Mon, Jan 26, 2009 at 6:00 PM, Martin Geisler wrote: > Alessio Pace writes: > > > I would like to put in my suite of tests some integration tests which > > deal with running some exchange of messages a

Re: [Twisted-Python] A Java protocol on Twisted?

2009-01-29 Thread Alessio Pace
Hi, first of all sorry for my delayed answer. On Mon, Jan 26, 2009 at 4:26 PM, Jean-Paul Calderone wrote: > On Thu, 22 Jan 2009 09:14:48 +0100, Alessio Pace > wrote: > >> Hi, >> >> recently I was asked if it would be possible to plug a Java protocol in a >&

[Twisted-Python] Having different tests run with Trial using different reactor implementations ?

2009-01-29 Thread Alessio Pace
Thanks again in advance. Regards, Alessio Pace. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python