socket programming question

K

Kiran

Hello All,
My question is, is it possible to make python do some other
processing while it is waiting for a socket to timeout?

thanks a lot!
Kiran
 
I

Irmen de Jong

Kiran said:
Hello All,
My question is, is it possible to make python do some other
processing while it is waiting for a socket to timeout?

sure, you have to use threads and/or use asynchronous socket
programming. Google is your friend.

--Irmen
 
G

Grant Edwards

is it possible to make python do some other processing while
it is waiting for a socket to timeout?

Yes.

You can either use threads or select.

Or you can use one of the async server frameworks like twisted.
 

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,776
Messages
2,569,603
Members
45,187
Latest member
RosaDemko

Latest Threads

Top