Re: transmit an array via socket

2007-10-27 Thread Bryan Olson
Hendrik van Rooyen wrote: > "Jeff Pang" wrote: >> I want to transmit an array via socket from a host to another. >> How to do it? thank you. > > pickle it and send it and unpickle it on the other side. > > See the cPickle module docs for loads and dumps. I

Re: transmit an array via socket

2007-10-27 Thread Hendrik van Rooyen
"Jeff Pang" wrote: I want to transmit an array via socket from a host to another. How to do it? thank you. pickle it and send it and unpickle it on the other side. See the cPickle module docs for loads and dumps. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: transmit an array via socket

2007-10-27 Thread 7stud
On Oct 26, 11:52 pm, "Jeff Pang" <[EMAIL PROTECTED]> wrote: > I want to transmit an array via socket from a host to another. > How to do it? thank you. > Try this: client: --- import socket s = socket.socket() host = 'localhost' port = 3030 s.connect( (

Re: transmit an array via socket

2007-10-27 Thread Diez B. Roggisch
Jeff Pang schrieb: > I want to transmit an array via socket from a host to another. > How to do it? thank you. Using XMLRPC or Pyro or other RPC mechanisms instead of reinventing a wheel that is larger than the socket API suggests in the first place. Diez -- http://mail.python.org/m

transmit an array via socket

2007-10-26 Thread Jeff Pang
I want to transmit an array via socket from a host to another. How to do it? thank you. --jeff _ Largest network of startups. Find new startup opportunities. Click here. http://thirdpartyoffers.juno.com/TGL2111/fc