|
Reading images on network
Hello experts,
please help me i am not able to understand how to solve this,
what i am trying to do is in client server environment i am using file I/O amd memory map to transfer the file,
means when a client requests any file from server , the server opens the file in rb mode and read the contents and send the data to the client and on client side the client opens in write mode and write to this file,
means iam using simple i/o or mmap for this for the same how to transfer the .gif or any image file like this,
when i try to do it says the file cannot be opened with "w" mode on server side,
i am using c/c++ language in programming,
plz help me.
|