Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
See more:
Hi all,
i need to transfer a zip file from c# window application to iphone/ipad using wifi network. i learn some tutorial using socket and tcp programming but that are actually about from pc to pc not pc to iphone or other device. can anyone tell me how to connect to a device using a wifi and send file.
Posted
Comments
Suvabrata Roy 15-Sep-14 4:56am    
WiFi is a technology to use network communication without wires, but its dose not hamper the programming basic concept they are same. You can use one web site to transfer file and it will be accessible to almost all mind of WiFi enable devices.
ravikhoda 15-Sep-14 4:59am    
well i want to transfer the file to the selected device only not all devices with WiFi. user will enter the ip address of the device where the file need to be transfer.
Suvabrata Roy 15-Sep-14 5:14am    
Ok, You want to push files to clients ?
am I rite?
ravikhoda 15-Sep-14 6:05am    
yes.

1 solution

Hi,

You can use SignalR to accomplish your work.

What is SignalR ?

Quote:
ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.

You may have heard of WebSockets, a new HTML5 API that enables bi-directional communication between the browser and server. SignalR will use WebSockets under the covers when it's available, and gracefully fallback to other techniques and technologies when it isn't, while your application code stays the same.



SignalR client for Objective C :
https://github.com/DyKnow/SignalR-ObjC[^]


You could send a notification to your client about a new file arrived and then that client application will download file from your desire location. This way you will be able to push file to client from Server.

Thanks,
Suvabrata
 
Share this answer
 
Comments
ravikhoda 15-Sep-14 7:00am    
Thanks for your reply will check this one but i think this one need web API / web based technology. i want to apply this on window application.
Suvabrata Roy 15-Sep-14 7:05am    
You can SignalR will work with many different technology, take your time as per my understanding real time file pushing SignalR will very nice tool to use

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900