Re: array/list of sockets

2013-10-27 Thread rusi
On Sunday, October 27, 2013 4:47:16 AM UTC+5:30, theel...@gmail.com wrote: > I apologize but I do not understand what you mean by "lack of context." I > have > taken Chris' words into consideration, for my previous post was supposed to > be > my last (I just had to say thank you). This is my fi

Re: array/list of sockets

2013-10-26 Thread rurpy
On 10/26/2013 05:17 PM, theelder...@gmail.com wrote: > I apologize but I do not understand what you mean by "lack of > context." I have taken Chris' words into consideration, for my > previous post was supposed to be my last (I just had to say thank > you). This is my first google groups post, so I

Re: array/list of sockets

2013-10-26 Thread Chris Angelico
On Sun, Oct 27, 2013 at 10:56 AM, wrote: > Yes, crystal clear. Thank you. Since I am writing this post, I have one final > question. I got my code to work for a multithreaded web server, how do I test > if it can handle multiple threads? Easy! Just make sure the threads take a good bit of time

Re: array/list of sockets

2013-10-26 Thread theelder777
On Saturday, October 26, 2013 4:36:04 PM UTC-7, Mark Lawrence wrote: > That's okay, everybody has to start somewhere :) > > > > A definition from http://www.thefreedictionary.com/context "The part of > > a text or statement that surrounds a particular word or passage and > > determines its

Re: array/list of sockets

2013-10-26 Thread Mark Lawrence
On 27/10/2013 00:17, theelder...@gmail.com wrote: I apologize but I do not understand what you mean by "lack of context." I have taken Chris' words into consideration, for my previous post was supposed to be my last (I just had to say thank you). This is my first google groups post, so I am a

Re: array/list of sockets

2013-10-26 Thread mm0fmf
On 27/10/2013 00:17, theelder...@gmail.com wrote: I apologize but I do not understand what you mean by "lack of context." I have taken Chris' words into consideration, for my previous post was supposed to be my last (I just had to say thank you). This is my first google groups post, so I am a

Re: array/list of sockets

2013-10-26 Thread Chris Angelico
On Sun, Oct 27, 2013 at 10:17 AM, wrote: > > I apologize but I do not understand what you mean by "lack of context." I > have taken Chris' words into consideration, for my previous post was supposed > to be my last (I just had to say thank you). This is my first google groups > post, so I am a

Re: array/list of sockets

2013-10-26 Thread theelder777
I apologize but I do not understand what you mean by "lack of context." I have taken Chris' words into consideration, for my previous post was supposed to be my last (I just had to say thank you). This is my first google groups post, so I am a total noob. Once again, I apologize for whatever th

Re: array/list of sockets

2013-10-26 Thread Mark Lawrence
On 26/10/2013 23:42, theelder...@gmail.com wrote: Thank you all for your time and great replies. I think/hope I have enough info to able to implement this simple server. No problem but please take onboard the advice Chris Angelico gave you earlier regarding google groups, noting the complete

Re: array/list of sockets

2013-10-26 Thread theelder777
Thank you all for your time and great replies. I think/hope I have enough info to able to implement this simple server. -- https://mail.python.org/mailman/listinfo/python-list

Re: array/list of sockets

2013-10-26 Thread Mark Lawrence
On 26/10/2013 23:15, theelder...@gmail.com wrote: Thank you for your quick replies. I am trying to implement a very simple multithreaded webserver in python. Is using an array of sockets (for different clients) the correct way to go? It's a list :) And if it works for you, why not, there's

Re: array/list of sockets

2013-10-26 Thread Chris Angelico
On Sun, Oct 27, 2013 at 9:15 AM, wrote: > Thank you for your quick replies. I am trying to implement a very simple > multithreaded webserver in python. Is using an array of sockets (for > different clients) the correct way to go? Firstly, before you respond any more, please get off Google Grou

Re: array/list of sockets

2013-10-26 Thread theelder777
Thank you for your quick replies. I am trying to implement a very simple multithreaded webserver in python. Is using an array of sockets (for different clients) the correct way to go? -- https://mail.python.org/mailman/listinfo/python-list

Re: array/list of sockets

2013-10-26 Thread Johannes Findeisen
Hi, On Sat, 26 Oct 2013 14:41:15 -0700 (PDT) theelder777@ wrote: > Hello all, I am kind of new to python. I am currently trying to make and use > a list/array of sockets in a program. So I have declared an array as follows: > myCSocks = ['CSock1', 'CSock2', 'CSock3', 'CSock4', 'CSock5'] You act

Re: array/list of sockets

2013-10-26 Thread Mark Lawrence
On 26/10/2013 22:41, theelder...@gmail.com wrote: Hello all, I am kind of new to python. I am currently trying to make and use a list/array of sockets in a program. So I have declared an array as follows: myCSocks = ['CSock1', 'CSock2', 'CSock3', 'CSock4', 'CSock5'] This is a list of Python st

array/list of sockets

2013-10-26 Thread theelder777
Hello all, I am kind of new to python. I am currently trying to make and use a list/array of sockets in a program. So I have declared an array as follows: myCSocks = ['CSock1', 'CSock2', 'CSock3', 'CSock4', 'CSock5'] and I am trying to use my array elements as follows: myCSocks[i], addr = serverS