Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding to boundless String[] Pin
User 665824-Jan-09 4:25
User 665824-Jan-09 4:25 
AnswerRe: Adding to boundless String[] Pin
CooperWu24-Jan-09 4:26
CooperWu24-Jan-09 4:26 
GeneralRe: Adding to boundless String[] Pin
will kirkby24-Jan-09 4:35
will kirkby24-Jan-09 4:35 
GeneralRe: Adding to boundless String[] Pin
CooperWu24-Jan-09 4:50
CooperWu24-Jan-09 4:50 
GeneralRe: Adding to boundless String[] Pin
will kirkby24-Jan-09 5:14
will kirkby24-Jan-09 5:14 
GeneralRe: Adding to boundless String[] Pin
CooperWu24-Jan-09 20:36
CooperWu24-Jan-09 20:36 
GeneralRe: Adding to boundless String[] Pin
Luc Pattyn24-Jan-09 6:27
sitebuilderLuc Pattyn24-Jan-09 6:27 
QuestionFile transfer in C# Pin
SimpleData24-Jan-09 4:17
SimpleData24-Jan-09 4:17 
Hi Lets think that there is a client and a server. Client wants to send three files with small sizes to the server. Server's ip address and port is static.

- Server starts listening the port and accepts all the connection attempts coming from any ip address.
- Client establishes a connection to the server. After connecting, starts to send the files.
- Server recieves the files and saves them to the hard disk.
- Client disconnects.
- Server keeps listening the port and accepts all the connection attempts coming from any ip address.

Essentially, this is what I am trying to do. I am not a starter in C# but I am not advanced too. I have designed the code but only first file out of three is recieved by server without a problem. Because client or server doesn't wait for transfer to be completed.

At the same time there can be more than one client connected to server, server should be able to recieve all the files.

Thanks in advance.
AnswerRe: File transfer in C# Pin
#realJSOP24-Jan-09 4:24
mve#realJSOP24-Jan-09 4:24 
GeneralRe: File transfer in C# Pin
SimpleData24-Jan-09 4:43
SimpleData24-Jan-09 4:43 
GeneralRe: File transfer in C# Pin
Dave Kreskowiak24-Jan-09 5:01
mveDave Kreskowiak24-Jan-09 5:01 
GeneralRe: File transfer in C# Pin
SimpleData24-Jan-09 5:05
SimpleData24-Jan-09 5:05 
GeneralRe: File transfer in C# Pin
EliottA24-Jan-09 5:49
EliottA24-Jan-09 5:49 
GeneralRe: File transfer in C# Pin
SimpleData24-Jan-09 5:52
SimpleData24-Jan-09 5:52 
GeneralRe: File transfer in C# Pin
#realJSOP24-Jan-09 8:46
mve#realJSOP24-Jan-09 8:46 
QuestionSecurity Information Internet Pin
trinm198724-Jan-09 4:14
trinm198724-Jan-09 4:14 
AnswerRe: Security Information Internet Pin
Wendelius24-Jan-09 4:45
mentorWendelius24-Jan-09 4:45 
GeneralRe: Security Information Internet Pin
trinm198724-Jan-09 5:04
trinm198724-Jan-09 5:04 
GeneralRe: Security Information Internet Pin
Dave Kreskowiak24-Jan-09 10:27
mveDave Kreskowiak24-Jan-09 10:27 
Questiondelegates and events Pin
staticv24-Jan-09 3:23
staticv24-Jan-09 3:23 
AnswerRe: delegates and events [modified] Pin
Luc Pattyn24-Jan-09 3:29
sitebuilderLuc Pattyn24-Jan-09 3:29 
GeneralRe: delegates and events Pin
staticv24-Jan-09 4:36
staticv24-Jan-09 4:36 
AnswerRe: delegates and events [modified] Pin
Luc Pattyn24-Jan-09 4:54
sitebuilderLuc Pattyn24-Jan-09 4:54 
GeneralRe: delegates and events Pin
staticv24-Jan-09 5:01
staticv24-Jan-09 5:01 
GeneralRe: delegates and events Pin
jkohler24-Jan-09 4:51
jkohler24-Jan-09 4:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.