asyncore Questions

3

Solved

Can I write an UDP client/server application in asyncore? I have already written one using TCP. My desire is to integrate it with support for UDP. My question was not previously asked/answered by ...
Prudish asked 2/12, 2015 at 10:40

5

Solved

I need to create a class that can receive and store SMTP messages, i.e. E-Mails. To do so, I am using asyncore according to an example posted here. However, asyncore.loop() is blocking so I cannot ...
Buyer asked 23/1, 2013 at 15:28

0

I am currently trying to transition from asyncore to asyncio since I am porting some old code from python 27 to python 35. But I am not very familiar yet with both. Here is a condensed version of...
Magnetomotive asked 24/5, 2017 at 20:54

2

Solved

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 cann...
Dieback asked 5/9, 2011 at 21:42

1

Solved

I am using asyncore to implement a publish subscribe. I understand using twisted or ZMQ may be a better solution, however in this case it needs to be pure python. When waiting for connections the C...
Unruffled asked 15/3, 2014 at 12:10

4

Solved

I couldn't find this in the docs, but how am I meant to break out of the asyncore.loop() without using signals?
Bikol asked 7/5, 2012 at 22:35

1

Solved

I am writing server application in Python that listens for requests, processes them, and sends a response. All req/resp are send from the same address and port to the server application. I need to...
Cleome asked 2/5, 2014 at 9:27

4

Solved

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 c...
Leitmotif asked 10/2, 2011 at 21:17

3

Solved

I am following some example code to use asyncore here, only having set a timeout value for asyncore.loop as in the following full example: import smtpd import asyncore class CustomSMTPServer(smt...
Ftlb asked 23/1, 2013 at 17:18

3

I have a program I'm working on that will be reading from two 'network sources' simultaneously. I wanted to try out an asynchronous approach rather than use threading. This has lead me to wonder wh...
Sainted asked 8/12, 2010 at 5:8

3

Solved

I have some questions about the performance of this simple python script: import sys, urllib2, asyncore, socket, urlparse from timeit import timeit class HTTPClient(asyncore.dispatcher): def __i...
Helman asked 7/10, 2011 at 17:32

1

Solved

I'm unfamiliar with asyncore, and have very limited knowledge of asynchronous programming except for a few intro to twisted tutorials. I am most familiar with threads and use them in all my apps. ...
Lindeberg asked 16/1, 2011 at 7:26

3

Solved

Is it possible to integrate asyncore with dbus through the same main loop? Usually, DBus integration is done through glib main loop: is it possible to have either asyncore integrate this main loo...
Stalker asked 27/1, 2010 at 18:27

1

Solved

Im currently trying to learn Networking with Python asyncore and pyqt4. I coded a small server, which basically listens on some port, and resends all messages it recieves to the sender. Since bot...
Canaveral asked 20/1, 2010 at 20:40
1

© 2022 - 2024 — McMap. All rights reserved.