socket client and server in one application?

Grant Edwards invalid at invalid.invalid
Mon May 5 15:47:04 EDT 2014


On 2014-05-05, chris at freeranger.com <chris at freeranger.com> wrote:

> I have a python script that uses a serial port to read data from an
> xbee radio and it delivers the data to a socket server. Now I need to
> retrieve the data from a socket client so I can send data out on the
> common serial port.
>
> I think I need a combination of threads, queues, socket client and
> sever.

You could use either threads or select/poll.  They would all work
fine.

-- 
Grant Edwards               grant.b.edwards        Yow! Now I'm concentrating
                                  at               on a specific tank battle
                              gmail.com            toward the end of World
                                                   War II!



More information about the Python-list mailing list