Hi all,

I have to make my turbogears program talk to a remote server by UDP,
which means while handling a http request in controller.py,  I have to
send out an UDP package and block the thread until the response is
received.

I have little idea of how to make this happen.  Maybe I could write
another thread to send and receive packages, and wake up the waiting
thread correctly.

Do u have any suggestions?  Thanks a lot?

By the way, I also need to process the binary data in UDP packages, and
it's a little complicated to use struct.  Is there any more convenient
packages that you may recommend?

Thanks again!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to