Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
4.60/5 (2 votes)
See more:
Hello there,

I am trying to develop a skype-like application. I have covered chat functionalities in it but i am stuck in file sharing capability.

My question is do we need to have hosting space in order to maintain files to be intermediately stored once we start to send file?

I am thinking of sending the file to a hosted space. Once the file gets uploaded to that space, it will become available to the recieving party. Is this a proper way? Let me know if there is other way around to send file to recieving party in a single shot like IMs such as skype or gtalk(without intermediate storage).

My app works perfectly in LAN with file sharing capability but in WAN, it seems to lag or not recieving at all. Can you pinpoint any articles that covers this similar type of applications. Any response will be appreciated.

Thanks,
Shabeer
Posted
Comments
Sushil Mate 31-Jul-13 7:48am    
cant use the sockets for that? http://www.developerfusion.com/article/3918/socket-programming-in-c-part-1/3/
Syed Shabeer 31-Jul-13 7:58am    
Thanks for the response. And yes, i am using socket programming and the exact thing mentioned in that link. But what happens is it works well in LAN...but WAN is too laggy. I am thinking of nice way(like multithreading, any third party dlls) to achieve that by going through articles of similar applications. Let me know if you gone through any such articles...

1 solution

See the following CodeProject article:
Peer-to-Peer Communicator and File Transfer[^]

Cheers,
Edo
 
Share this answer
 
Comments
Syed Shabeer 31-Jul-13 8:02am    
Thanks, let me try that one and let you know my results.

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