SD library and UDP Client (problem sending data)

Thanks for your reply, I really appreciate it.The code is very long.

I'm essentially modifying the UDPEchoServer example (http://digilentinc.com/Products/Detail.cfm?NavPath=2,401,884&Prod=PMOD-WIFI -> UDPEchoServer.pde) where during the WRITE case, I want to read a bitmap image file from the SD card and send it across the server. An Iphone is receiving the image. I've been playing around with how to send a bitmap file and trying to send a stream of bytes and redraw with Xcode.

You are correct, the length should be 1, it is only one byte.

myFile.read() will read the any file byte at a time.