Forums Register Login

Read a music file

+Pie Number of slices to send: Send
Hello,

I have a program that is sending files using sockets. My question is how go I could about reading/scanning a music file to send and then recreate the file at the other end.

Thanks and Regards
Mike
+Pie Number of slices to send: Send
Just read it and send it one byte at a time, just like any other file. It may be a music file to something which can play music, but to a socket it's just an array of bytes.
+Pie Number of slices to send: Send
Hey,

In my code here i get an error at the line



Just wondering if i doing something wrong



+Pie Number of slices to send: Send
Tell us more details. What sort of error? Compiler or run-time? What is the error message or stack trace? People can only help if they know such details.
+Pie Number of slices to send: Send
Do you really have a directory called "sdcard" in your file system root?
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2120 times.
Similar Threads
Wiimote > Coordinates > CNC
Never Ending Threads
XML Client Server using Transformer
Java Code to Edit Output File
Threads and I/O stream
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:56:07.