Re: Small socket problem

2009-02-09 Thread John O'Hagan
On Mon, 9 Feb 2009, Gabriel Genellina wrote: > En Mon, 09 Feb 2009 07:43:36 -0200, John O'Hagan > > escribió: > > I'm using the socket module (python 2.5) like this (where 'options' > > refers to > > an optparse object) to connect to the Fluidsynth program: > > > > host = "localhost" >

Re: Small socket problem

2009-02-09 Thread Jean-Paul Calderone
On Mon, 9 Feb 2009 09:43:36 +, John O'Hagan wrote: Hi, I'm using the socket module (python 2.5) like this (where 'options' refers to an optparse object) to connect to the Fluidsynth program: host = "localhost" port = 9800 fluid = socket(AF_INET, SOCK_STREAM

Re: Small socket problem

2009-02-09 Thread Gabriel Genellina
En Mon, 09 Feb 2009 07:43:36 -0200, John O'Hagan escribió: I'm using the socket module (python 2.5) like this (where 'options' refers to an optparse object) to connect to the Fluidsynth program: host = "localhost" port = 9800 fluid = socket(AF_INET, SOCK

Small socket problem

2009-02-09 Thread John O'Hagan
Hi, I'm using the socket module (python 2.5) like this (where 'options' refers to an optparse object) to connect to the Fluidsynth program: host = "localhost" port = 9800 fluid = socket(AF_INET, SOCK_STREAM) try: fluid.connect((hos