Re: Broadcast server

2006-09-04 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > Thx Alex, > This is exactly what i want to look at . Async will definitely be > something i will look at . Does it make sense to mix async and threaded > server ( let say a threaded server accepting max 10 connections and > dealing with client request asynchronously

Re: Broadcast server

2006-09-04 Thread swell
Thx Alex, This is exactly what i want to look at . Async will definitely be something i will look at . Does it make sense to mix async and threaded server ( let say a threaded server accepting max 10 connections and dealing with client request asynchronously ). Does it sounds you a good design.

Re: Broadcast server

2006-09-03 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > Yes but before going deeper ( too deep ) i would like to play with a > toy python example. Basically what i want to study first is a socket or > socket+select server and 5 clients that get time updated from the > server. > > Don't really know how to keep hot connectio

Re: Broadcast server

2006-09-03 Thread Michael
[EMAIL PROTECTED] wrote: > It sounds very interesting and i will definitely take a deeper look > but i was more considering something simpler as a learning exercise > more that finding a package that should already do what i want to > achieve. The bulk of this post dissects (roughly) how Kamael

Re: Broadcast server

2006-09-01 Thread swell
Yes but before going deeper ( too deep ) i would like to play with a toy python example. Basically what i want to study first is a socket or socket+select server and 5 clients that get time updated from the server. Don't really know how to keep hot connections without blocking the server ? If some

Re: Broadcast server

2006-08-31 Thread Damjan
[EMAIL PROTECTED] wrote: > I would like to write a server with the low level API of python ( > socket+select and/or socket+thread ) that allow me to register client > and update them every X seconds ( could be the time, the temperature, a > stock quote, a message , ... ). > > How to write the ser

Re: Broadcast server

2006-08-31 Thread swell
Hi Matt , It sounds very interesting and i will definitely take a deeper look but i was more considering something simpler as a learning exercise more that finding a package that should already do what i want to achieve. I want to find the basic guidelines to write that kind of client/server arch

Re: Broadcast server

2006-08-31 Thread Matt Hammond
On Thu, 31 Aug 2006 10:14:15 +0100, <[EMAIL PROTECTED]> wrote: > I would like to write a server with the low level API of python ( > socket+select and/or socket+thread ) that allow me to register client > and update them every X seconds ( could be the time, the temperature, a > stock quote, a mess

Broadcast server

2006-08-31 Thread swell
I would like to write a server with the low level API of python ( socket+select and/or socket+thread ) that allow me to register client and update them every X seconds ( could be the time, the temperature, a stock quote, a message , ... ). How to write the server that keep hot connections with cli