Gianluca Posted April 29, 2011 Share Posted April 29, 2011 (edited) I'm wondering how to create a file manager (so view and copy files from-to another PC) using this method: In order to get something: UDPStartup() $pc = UDPBind(@IPAddress1,951) $recv = UDPRecv($pc,2048) UDPShutdown() In order to send something: UDPStartup() $pc_2 = UDPOpen($IPyouWANNAuse,951) $text = "Your message" UDPSend($pc_2,$text) UDPShutdown() Any ideas? It is not stricly compulsory that THIS is the right way to do what I want, the only conditions are the fact that the PCs are in a LAN... Edited April 29, 2011 by Gianluca Link to comment Share on other sites More sharing options...
hannes08 Posted April 29, 2011 Share Posted April 29, 2011 Hello Gianluca,creating a "filemanager" like this is not an easy thing you can do in 2 or 3 hours of coding.Think about the following points:Why not use standard Explorer if you're in a LAN? You'll need a server and a client program for this.Using TCP for sending files would be better.SERCURITY! How will you manage security in your client-server app? It's one thing to send text messages through network, but something completely different if you want to browse, download and upload files. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
Gianluca Posted May 3, 2011 Author Share Posted May 3, 2011 Hello Gianluca,creating a "filemanager" like this is not an easy thing you can do in 2 or 3 hours of coding.Think about the following points:Why not use standard Explorer if you're in a LAN? You'll need a server and a client program for this.Using TCP for sending files would be better.SERCURITY! How will you manage security in your client-server app? It's one thing to send text messages through network, but something completely different if you want to browse, download and upload files. All right.. gotcha!Well, it is not so difficult to browse... the main difficult is upload/download files! Advice? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now