Re: Scket connection to server

2005-07-01 Thread Irmen de Jong
Christopher Subich wrote: > Steve Horsley wrote: > >> There is a higher level socket framework called twisted that everyone >> seems to like. It may be worth looking at that too - haven't got round >> to it myself yet. > > > I wouldn't say 'like,' exactly. I've cursed it an awful lot (mostly

Re: Scket connection to server

2005-06-30 Thread Christopher Subich
Steve Horsley wrote: > There is a higher level socket framework called twisted that everyone > seems to like. It may be worth looking at that too - haven't got round > to it myself yet. I wouldn't say 'like,' exactly. I've cursed it an awful lot (mostly for being nonobvious), but it does a da

Re: Scket connection to server

2005-06-30 Thread Grant Edwards
On 2005-06-30, André Egners <[EMAIL PROTECTED]> wrote: >>> I would like to establish a socket connection to a server >>> running a service on port 2. the host address is >>> 10.214.109.50. how do i do this using python? >>> >>> many thanks >>> >>> >> >> Off the top of my head (so there could

Re: Scket connection to server

2005-06-30 Thread André Egners
Steve Horsley wrote: > JudgeDread wrote: > >> hello python gurus >> >> I would like to establish a socket connection to a server running a >> service >> on port 2. the host address is 10.214.109.50. how do i do this using >> python? >> >> many thanks >> >> > > Off the top of my head (so there

Re: Scket connection to server

2005-06-30 Thread Jp Calderone
On Thu, 30 Jun 2005 18:39:27 +0100, Steve Horsley <[EMAIL PROTECTED]> wrote: >JudgeDread wrote: >> hello python gurus >> >> I would like to establish a socket connection to a server running a service >> on port 2. the host address is 10.214.109.50. how do i do this using >> python? >> >> many t

Re: Scket connection to server

2005-06-30 Thread Steve Horsley
JudgeDread wrote: > hello python gurus > > I would like to establish a socket connection to a server running a service > on port 2. the host address is 10.214.109.50. how do i do this using > python? > > many thanks > > Off the top of my head (so there could be errors): import socket s =

Re: Scket connection to server

2005-06-30 Thread [EMAIL PROTECTED]
The documentation gives an excellent example on how to do this, see http://docs.python.org/lib/socket-example.html -- http://mail.python.org/mailman/listinfo/python-list

Scket connection to server

2005-06-30 Thread JudgeDread
hello python gurus I would like to establish a socket connection to a server running a service on port 2. the host address is 10.214.109.50. how do i do this using python? many thanks -- http://mail.python.org/mailman/listinfo/python-list