On Thursday, August 11, 2016 at 11:36:47 AM UTC+5:30, dieter wrote:
> Anil reddy reddy M writes:
>
> > I was written a simple tcp server in python, which is nicely communicating
> > with multiple tcp clients. My Tcp Server can accept multiple clients at
> > time, each c
Anil reddy reddy M writes:
> I was written a simple tcp server in python, which is nicely communicating
> with multiple tcp clients. My Tcp Server can accept multiple clients at time,
> each client as a new thread. I want send message to specific tcp client after
> some time.
&g
I was written a simple tcp server in python, which is nicely communicating with
multiple tcp clients. My Tcp Server can accept multiple clients at time, each
client as a new thread. I want send message to specific tcp client after some
time.
I can client Address from connction, addr
hi ,evreyone!
i want to know how to user tornado.gen.coroutine in Tcp server?
here is my question link in stackoverflow.
http://stackoverflow.com/questions/31353861/how-to-use-tornado-gen-coroutine-in-tcp-server
thank you !
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, May 8, 2015 at 8:20 AM, wrote:
> I needed to develop a highly scalable multi-threaded TCP server in Python and
> when I started writing it in 2013 I could not find a suitable library that
> would scale the way I needed but also easy to use.
>
> So I invented one - it&
Hi,
I needed to develop a highly scalable multi-threaded TCP server in Python and
when I started writing it in 2013 I could not find a suitable library that
would scale the way I needed but also easy to use.
So I invented one - it's called Pyloom. If you want to take a look, it's p
Hi,
On Tue, 23 Sep 2014 15:56:41 +0200
Arulnambi Nandagoban wrote:
> Hello all,
>
>
>
> I developed a multithreaded tcp server with python and I converted into a
> windows executable using pyinstaller.
>
> I would like to run the server as a windows service
Hello all,
I developed a multithreaded tcp server with python and I converted into a
windows executable using pyinstaller.
I would like to run the server as a windows service so that server restarts
whenever pc restarts without
doing it manually . Help me out with some sample code
> On 7/9/2014 3:36 AM, Arulnambi Nandagoban wrote:
>> I like to convert the python script to windows application.
The proper way to do asynchronous io on Windows is quite different from
the proper way to do it on posix systems (more or less everything other
than Windows). If you plan on using
of python server in enterprise
application ? I already developed a tcp server in python as a prototype.
Our requirement for tcp server to handle more than 1 connection
simultaneously . Since, I am the only python fanatic in my company, it
is difficult
to make them convince. If you could provide
the reliability level of python server in enterprise
> application ? I already developed a tcp server in python as a prototype.
>
> Our requirement for tcp server to handle more than 1 connection
> simultaneously . Since, I am the only python fanatic in my company, it is
> difficult
Hello all,
Can anyone tell me the reliability level of python server in enterprise
application ? I already developed a tcp server in python as a prototype.
Our requirement for tcp server to handle more than 1 connection
simultaneously . Since, I am the only python fanatic in my company
> Looking a lot more normal and readable now. Thanks!
>
> Note that some people have experienced odd issues with Pan, possibly
> relating to having multiple instances running simultaneously. You may
> want to take care not to let it open up a duplicate copy of itself.
>
> ChrisA
Thanks for the h
On Mon, Jan 20, 2014 at 5:53 AM, Philip Werner wrote:
> On Sat, 18 Jan 2014 13:19:24 +, Mark Lawrence wrote:
>
>> On 18/01/2014 12:40, phi...@gmail.com wrote:
>>
>> [snip the stuff I can't help with]
>>
>> Here's the link you need to sort the problem with double spacing from
>> google groups h
On Sat, 18 Jan 2014 13:19:24 +, Mark Lawrence wrote:
> On 18/01/2014 12:40, phi...@gmail.com wrote:
>
> [snip the stuff I can't help with]
>
> Here's the link you need to sort the problem with double spacing from
> google groups https://wiki.python.org/moin/GoogleGroupsPython
Thanks for the
On 18/01/2014 12:40, phi...@gmail.com wrote:
[snip the stuff I can't help with]
Here's the link you need to sort the problem with double spacing from
google groups https://wiki.python.org/moin/GoogleGroupsPython
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you
Den lördagen den 18:e januari 2014 kl. 13:13:47 UTC+1 skrev Asaf Las:
> On Wednesday, January 15, 2014 8:37:25 PM UTC+2, phi...@gmail.com wrote:
>
> > My problem is as follows:
>
> >
>
> > 2) The network layer of the game server runs a separate process as well,
>
> > and my intention was
On Wednesday, January 15, 2014 8:37:25 PM UTC+2, phi...@gmail.com wrote:
> My problem is as follows:
>
> 2) The network layer of the game server runs a separate process as well,
> and my intention was to use gevent or tornado (http://nichol.as/asynchronous-
>servers-in-python).
> 3) The game
> (You're using Google Groups, which means your replies are
>
> double-spaced and your new text is extremely long lines. Please fix
>
> this, either by the fairly manual job of fixing every post you make,
>
> or the simple method of switching to a better client. Thanks.)
>
>
>
> My point was
On Sat, Jan 18, 2014 at 6:44 PM, wrote:
>> Quick smoke test. How big are your requests/responses? You mention
>>
>> REST, which implies they're going to be based on HTTP. I would expect
>>
>> you would have some idea of the rough size. Multiply that by 50,000,
>>
>> and see whether your connectio
> Quick smoke test. How big are your requests/responses? You mention
>
> REST, which implies they're going to be based on HTTP. I would expect
>
> you would have some idea of the rough size. Multiply that by 50,000,
>
> and see whether your connection can handle it. For instance, if you
>
> hav
On Thu, Jan 16, 2014 at 5:37 AM, wrote:
> 3) The game server has a player limit of 5. My requirement/desire is to
> be able to serve 50k requests per second (without any caching layer, although
> the game server will cache data), so people don't get a poor user experience
> during high pea
My problem is as follows:
I'm developing an online game with the requirement of being able to handle
thousands of requests every second.
The frontend consists of web server(s) exposing a rest api. These web servers
in turn communicate with a game server over TCP. When a message arrives at the
On Dec 23, 12:01 pm, Oltmans wrote:
> Hi all,
>
> I'm writing a very small TCP server(written in Python) and now I want
> to host it on some ISP so that it can be accessed anywhere from the
> Internet. I've never done that before so I thought I should ask for
> some
On Thu, 23 Dec 2010 04:01:03 -0800, Oltmans wrote:
> Hi all,
>
> I'm writing a very small TCP server(written in Python) and now I want to
> host it on some ISP so that it can be accessed anywhere from the
> Internet. I've never done that before so I thought I should ask
On Thu, 2010-12-23 at 04:40 -0800, bobicanprogram wrote:
> On Dec 23, 7:01 am, Oltmans wrote:
> > Hi all,
> > I'm writing a very small TCP server(written in Python) and now I want
> > to host it on some ISP so that it can be accessed anywhere from the
> > Internet
Rolf,
> I'm writing a very small TCP server (written in Python) and now I want to
> host it on some ISP so that it can be accessed anywhere from the Internet.
> I've never done that before so I thought I should ask for some advice. Do you
> guys know any good ISP that ca
On Dec 23, 7:01 am, Oltmans wrote:
> Hi all,
>
> I'm writing a very small TCP server(written in Python) and now I want
> to host it on some ISP so that it can be accessed anywhere from the
> Internet. I've never done that before so I thought I should ask for
> some
Hi all,
I'm writing a very small TCP server(written in Python) and now I want
to host it on some ISP so that it can be accessed anywhere from the
Internet. I've never done that before so I thought I should ask for
some advice. Do you guys know any good ISP that can let me do t
st OUTCOME
> dict;
>reports result
>returns player dict with updated values """
>print(opponent['name'], 'chose %s.' % (MOVES[opponent['move']]))
># check lookout dict (OUTCOME dictionary)
>result = OUTCOME[(pl
elif result=='draw':
print('%s - %s: no one wins. You draw.' % (MOVES[player
['move']], MOVES[opponent['move']]))
player['drew'] += 1
else:
print('%s loses to %s. You lose.' % (MOVES[player['move&
Dear List,
I am looking to write a TCP socket server and was wondering what are the
pros and cons of using twisted over the sockets modules bundled in python?
Thanks
James
--
http://www.goldwatches.com/
--
http://mail.python.org/mailman/listinfo/python-list
here is its:
# a simple tcp server
import SocketServer
class EchoRequestHandler(SocketServer.BaseRequestHandler ):
def setup(self):
print self.client_address, 'connected!'
self.request.send('hi ' + str(self.client_address) + '\n')
def
> See the SocketServer module, both the documentation and the source code.
I firstly looked at this module and its __doc__, yet I still need an
'hello world' sample. and couldn't get it straight how can I write my
own hello world sample with SocketServer objects.
--
http://mail.python.org/mailm
> Even simpler, use Twisted:
I am afraid Twisted is not the right choice in my case. I am looking
for smaller, simpler and minimal server sample.
--
http://mail.python.org/mailman/listinfo/python-list
Tzury Bar Yochay <[EMAIL PROTECTED]> writes:
> In my case I need a simple server that can serve more than one client.
> I couldn't find an example on how to do that and be glad to get a hint.
See the SocketServer module, both the documentation and the source code.
--
http://mail.python.org/mailma
On Wed, 07 Nov 2007 18:54:39 -, Tzury Bar Yochay <[EMAIL PROTECTED]> wrote:
>hi, the following sample (from docs.python.org) is a server that can
>actually serve only single client at a time.
>
>In my case I need a simple server that can serve more than one client.
>I couldn't find an example o
On Nov 7, 2007, at 12:54 PM, Tzury Bar Yochay wrote:
> hi, the following sample (from docs.python.org) is a server that can
> actually serve only single client at a time.
>
> In my case I need a simple server that can serve more than one client.
> I couldn't find an example on how to do that and b
On Nov 7, 1:54 pm, Tzury Bar Yochay <[EMAIL PROTECTED]> wrote:
> hi, the following sample (from docs.python.org) is a server that can
> actually serve only single client at a time.
>
> In my case I need a simple server that can serve more than one client.
> I couldn't find an example on how to do t
hi, the following sample (from docs.python.org) is a server that can
actually serve only single client at a time.
In my case I need a simple server that can serve more than one client.
I couldn't find an example on how to do that and be glad to get a
hint.
Thanks in advance
import socket
HOST =
On Feb 10, 4:52 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Sorry this question isn't strictly Python-related. Does any one know how
> many simultaneous TCP connections it's practical to expect a TCP-based
> server application to support (on the OS of your choice)? I'm looking
> for the restricti
On 2007-02-10, Steve Holden <[EMAIL PROTECTED]> wrote:
> Sorry this question isn't strictly Python-related. Does any one know how
> many simultaneous TCP connections it's practical to expect a TCP-based
> server application to support (on the OS of your choice)? I'm looking
> for the restrictio
Steve Holden <[EMAIL PROTECTED]> writes:
> Sorry this question isn't strictly Python-related. Does any one know
> how many simultaneous TCP connections it's practical to expect a
> TCP-based server application to support (on the OS of your choice)?
> I'm looking for the restrictions imposed by the
Sorry this question isn't strictly Python-related. Does any one know how
many simultaneous TCP connections it's practical to expect a TCP-based
server application to support (on the OS of your choice)? I'm looking
for the restrictions imposed by the operating environment rather than
the applica
A quick example for you:
###
import SocketServer
class EchoRequestHandler(SocketServer.BaseRequestHandler):
def setup(self):
print self.client_address, 'connected!'
self.request.send('hi ' + str(self.client_address) + '\n')
def handle(self):
while 1:
i am try to create a server
what am i suppose to send to SocketServer.TCPServer
what is the client_address ("127.0.0.1:80" ?)
and BaseRequestHandler = ?
thanks
--
http://mail.python.org/mailman/listinfo/python-list
46 matches
Mail list logo