Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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

.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?
Posted
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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...