asyncore
Performance difference between urllib2 and asyncore
I have some questions about the performance of this simple python script: import sys, urllib2, asyncore, socket, urlparse[详细]
2023-04-11 18:12 分类:问答Asyncore loop and raw_input problem
I\'m trying to learn asyncore module. So I decided to develop a chat program. I have to listen the network and broadcast udp packages same time. But problem is while user typing a message, user cannot[详细]
2023-04-02 08:49 分类:问答Python's asyncore client to send periodic data to server
I need to connect to a server (e.g. smpp server) and send periodic data every 2 seconds, here\'s the code:[详细]
2023-03-28 13:28 分类:问答python asynchat: how to store information on individual connections, and how to know when a client disconnects
For fun, I\'m writing a minimal IRC server with asynchat. I\'m trying to clear up a few fundamentals (my specific questions follow the code). I\'ve decided not to use anything in Twisted just so I can[详细]
2023-03-23 06:18 分类:问答Two-way Socket I/O with asyncore or alternative in Python
Am working on the back-end of Django web app that also has to do socket I/O with sensor devices in the field via GPRS using TCP communication.[详细]
2023-03-14 14:00 分类:问答Problems with python asyncore working with AF_UNIX sockets
I have some problems using asyncore with AF_UNIX sockets. This code import asyncore, socket, os class testselect(asyncore.dispatcher):[详细]
2023-03-05 12:57 分类:问答Need help creating a TCP relay between two sockets
I have the following situation: SomeServer(S) <-> (C)MyApp(S) <-> (C)User (S) represents a server socket[详细]
2023-02-16 20:43 分类:问答Asynchronous HTTP calls in Python
I have a need for a callback kind of functionality in Python where I am sending a request to a webservice multiple times, with a change in the parameter each time.I want these requests to happen concu[详细]
2023-02-09 16:25 分类:问答asyncore callbacks launching threads... ok to do?
I\'m unfamiliar with asyncore, and have very limited knowledge of asynchronous programming except for a few intro to twisted tutorials.[详细]
2023-02-05 02:50 分类:问答In asyncore how can i send data to all or some of the clients?
I\'m building a little MMORPG and im trying to use asyncore rather then threading. 1) How would i send data to certain clients, because in threading a saved each clients socket and current in a dicti[详细]
2023-01-24 09:22 分类:问答