The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-16-2009
vin_pll vin_pll is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 29
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.