title: Is there any possible to communicate with C#.Net server and iOS client using UDP sockets?
body: <p>I am doing IP Messenger demo for iOS and I have idea about objective-c ans I don't know about C#.net. And the server was developed in C#.net and client have to develope in objective-c. Is there any possible to this type of demos. And I have tried some demos which are able to send onle text but not files(images). I have tried this demo<a href="https://github.com/robbiehanson/CocoaAsyncSocket" rel="nofollow">CocoaUDPAsyncSocket</a>.Can any one help me how to send image ?</p>
  
  <pre><code> NSString *str=[NSString stringWithFormat:@"1:55:%@:IPhone:2097184:Hello\0 0:down-arrow.png:219:14de76bd790:1:\a",deviceInfo.name];
      NSData *data = [str dataUsingEncoding:NSUTF8StringEncoding];
      [asyncUDPSocket sendData:data withTimeout:-1.0 tag:0];
  //219 is length of image. 14de76bd790 is last modified 
  //of image both are in Hexadecimal. 2097184 is command number to send image file.
  </code></pre>