socket client and server in one application?

CHIN Dihedral dihedral88888 at gmail.com
Mon May 5 14:26:19 EDT 2014


On Monday, May 5, 2014 11:33:38 PM UTC+8, ch... 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.
> 
> 
> 
> Anyone have ideas about how I might frame this out?
> 
> 
> 
> Thanks in advance,
> 
> Chris.
I did this kind of projects in 1999-2002 for taxie call out services in object pascal from Borland in paid jobs.

In python, check the urlib.






More information about the Python-list mailing list