Transfer Files w/Socket

Darc

Well-known member
Joined
Apr 18, 2003
Messages
89
hey,

Im working on a project that is updated constantly, and I dont like using MSN or e-mail or whatever to send the file to everyone who needs it. Ive set up basic Socket Chat servers before but Im 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 its using. If there is a newer version tell the client that then send the file through in binary. Its 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 its hard to say for certain but yes a firewall that hasnt been configured to allow this application to work could be a reason for the error.
 
Back
Top