Darc Posted November 2, 2003 Posted November 2, 2003 hey, I'm working on a project that is updated constantly, and I don't like using MSN or e-mail or whatever to send the file to everyone who needs it. I've set up basic Socket Chat servers before but I'm completely oblivious to the rest of the Net Namespace (cept for WebClient.DownloadFile :)) Can you transfer a file over Socket servers? thanx to all those that help Quote
AndreRyan Posted November 2, 2003 Posted November 2, 2003 Listen with a socket on the server when a client connects get it(client) to send the version it's using. If there is a newer version tell the client that then send the file through in binary. It's really quite simple to setup a file transfers. I can give you a basic example if you would like Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Darc Posted November 2, 2003 Author Posted November 2, 2003 yes I would like the code to a Binary transfer Quote
Darc Posted November 2, 2003 Author Posted November 2, 2003 ok, got a prob now, works fine when I use it on my computer but on some peoples computers it gives them an Unknown Error exception could this be triggered by a Firewall? Quote
Administrators PlausiblyDamp Posted November 2, 2003 Administrators Posted November 2, 2003 Without knowing anymore about the error it's hard to say for certain but yes a firewall that hasn't been configured to allow this application to work could be a reason for the error. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.