array tofile to a socket?

2006-08-24 Thread KraftDiner
Can pythons array.tofile method be used for a TCP/IP Socket? ie can the socket be a file object? -- http://mail.python.org/mailman/listinfo/python-list

Re: array tofile to a socket?

2006-08-24 Thread Gabriel Genellina
At Thursday 24/8/2006 14:08, KraftDiner wrote: Can pythons array.tofile method be used for a TCP/IP Socket? ie can the socket be a file object? I've never tried, but usually any object with a write() method works fine in these cases. Gabriel Genellina Softlab SRL

Re: array tofile to a socket?

2006-08-24 Thread Gabriel Genellina
At Thursday 24/8/2006 14:08, KraftDiner wrote: Can pythons array.tofile method be used for a TCP/IP Socket? ie can the socket be a file object? I've never tried, but usually any object with a write() method works fine in these cases. Gabriel Genellina Softlab SRL