Re: array tofile fromfile tosocket? fromsocket?

2006-10-03 Thread SpreadTooThin
Thomas Jollans wrote: > On Tue, 03 Oct 2006 10:29:00 -0700, "SpreadTooThin" <[EMAIL PROTECTED]> > let this slip: > > > I was under the impression that a file and socket were interchangable > > (like a file descriptor). Does anyone have an idea that might help me > > minimize the impact on my cod

Re: array tofile fromfile tosocket? fromsocket?

2006-10-03 Thread Thomas Jollans
On Tue, 03 Oct 2006 10:29:00 -0700, "SpreadTooThin" <[EMAIL PROTECTED]> let this slip: > I was under the impression that a file and socket were interchangable > (like a file descriptor). Does anyone have an idea that might help me > minimize the impact on my code? are you looking for sockets' m

array tofile fromfile tosocket? fromsocket?

2006-10-03 Thread SpreadTooThin
Hi I am using arrays in an application. They have been working very well for me as I have been using them for reading and writing data to and from files whose endianisms can be big or little endian. However now I need handle data that can be transferred over a socket. I would rather not have to go