Transfer Files w/Socket

Darc

Regular
Joined
Apr 18, 2003
Messages
89
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
 
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
 
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?
 
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.
 
Back
Top