Good libraries for network programming (not asynchronous)

T

Tvrtko

Hello,

Is there any good alternative to twisted for network programming which
doesn't involve asynchronous programming? I don't really like the
asynchronous model because it is hard to incorporate all other
blocking libraries that I have to use. And the code doesn't look nice.
I recently found the diesel project which is much nicer, but still
asynchronous.

I'm looking for something that will manage all threads and connections
and be between me and a raw socket.

I know about the socketserver from standard library and I'm asking if
there is anything else.

Thanks,
Tvrtko
 
J

Jeff McNeil

Hello,

Is there any good alternative to twisted for network programming which
doesn't involve asynchronous programming? I don't really like the
asynchronous model because it is hard to incorporate all other
blocking libraries that I have to use. And the code doesn't look nice.
I recently found the diesel project which is much nicer, but still
asynchronous.

I'm looking for something that will manage all threads and connections
and be between me and a raw socket.

I know about the socketserver from standard library and I'm asking if
there is anything else.

Thanks,
Tvrtko

I know this probably isn't overly helpful, but Twisted allows you to
defer a blocking call to a thread using a 'deferToThread' construct.
It exists so that you can run otherwise synchronous calls in an async.
manner.
 
T

Tvrtko

I know this probably isn't overly helpful, but Twisted allows you to
defer a blocking call to a thread using a 'deferToThread' construct.
It exists so that you can run otherwise synchronous calls in an async.
manner.

I'm already using this, but the larger issue still remains.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top