title: In iPhone programming, How can i receive image file with TCP/IP from server which has XP os?
body: <p>I am making image receiver with iPhone.</p>
  
  <p>The server send image file with byte.</p>
  
  <p>and, i tried to make this bytes to image.</p>
  
  <p>But, i can not make image. already, several days past...</p>
  
  <p>i really need your help...</p>
  
  <p>this is source code that i use.</p>
  
  <pre><code>        Byte recvBuffer[500];
  
          memset(recvBuffer, '\0', sizeof(recvBuffer));
          [iStream read:recvBuffer maxLength:sizeof(recvBuffer)-1];
  
          NSUInteger len = sizeof(recvBuffer);
          NSData *webdata = [NSData dataWithBytes:recvBuffer length:len];
          imageview.image = [UIImage imageWithData:webdata];
  </code></pre>
  
  <p>if you give a comment, i will really appriciate! thank you for reading!</p>