Click here to Skip to main content
15,908,843 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Boolean size Pin
Scott Dorman2-Jun-08 6:11
professionalScott Dorman2-Jun-08 6:11 
AnswerRe: Boolean size Pin
Scott Dorman2-Jun-08 6:03
professionalScott Dorman2-Jun-08 6:03 
QuestionMSSCCI Problem for VS 2003 Pin
QPun28-May-08 20:46
QPun28-May-08 20:46 
QuestionWeb project component not installed Pin
dotnetprg28-May-08 19:36
dotnetprg28-May-08 19:36 
AnswerRe: Web project component not installed Pin
Verghese2-Jun-08 4:30
Verghese2-Jun-08 4:30 
QuestionOffice Add-in Pin
M. J. Jaya Chitra28-May-08 19:16
M. J. Jaya Chitra28-May-08 19:16 
AnswerRe: Office Add-in Pin
led mike29-May-08 4:29
led mike29-May-08 4:29 
QuestionHow to transfer large files over network though networkstream ? [modified] Pin
tamour28-May-08 4:43
tamour28-May-08 4:43 
Hi,
I have tried and im successful in transferring a large file say 200mb to from server to client. but the problem is i get 100% CPU usage while the file is transferring.
if i have a file of 200MB, it will have 209715200 bytes; now to send this file, i first made partitions of 4000Bytes. If we take Mode of its total size with 4000, we'll get 3200Bytes remaining, and the rest of it remains 209712000 which is exactly divisible by 4000. What my program do is first it sends the 3200Byte chunk and then the remaining 209712000Bytes. If we divide 209712000 by 4000, we'll get 52428. Which means the loop will run 52428 times in order to send the whole file. And same goes on the server side when it is receiving the file. These loops make my CPU hit 100%. And if i push the whole buffer to the network it says the buffer is full and EXCEPTION. Please tell me a good solution to transfer file without using that much CPU. I'm making a file sharing server, if CPU will hit 100% on one client, i wont be able to support more than two client or even 1.

modified on Wednesday, May 28, 2008 11:05 AM

AnswerRe: How to transfer large files over network though networkstream ? Pin
led mike29-May-08 4:26
led mike29-May-08 4:26 
Answer.Net and Document & Imaging Pin
Chrispie12327-May-08 12:16
Chrispie12327-May-08 12:16 
QuestionSocket.Select() timeout error? Pin
invictus327-May-08 11:57
invictus327-May-08 11:57 
AnswerRe: Socket.Select() timeout error? Pin
Colin Angus Mackay27-May-08 13:22
Colin Angus Mackay27-May-08 13:22 
AnswerRe: Socket.Select() timeout error? Pin
led mike28-May-08 4:39
led mike28-May-08 4:39 
QuestionTableAdapter.Update problem Pin
ford8627-May-08 10:46
ford8627-May-08 10:46 
AnswerRe: TableAdapter.Update problem Pin
Mike Dimmick28-May-08 5:32
Mike Dimmick28-May-08 5:32 
GeneralRe: TableAdapter.Update problem Pin
ford8628-May-08 5:39
ford8628-May-08 5:39 
AnswerRe: TableAdapter.Update problem [modified] Pin
William Ten Broek3-Jun-08 16:12
William Ten Broek3-Jun-08 16:12 
Questionscrolling banner/marquee Pin
Learning26-May-08 3:49
Learning26-May-08 3:49 
AnswerRe: scrolling banner/marquee Pin
Vasudevan Deepak Kumar26-May-08 19:19
Vasudevan Deepak Kumar26-May-08 19:19 
QuestionReading external application field value... Pin
just3ala226-May-08 3:00
just3ala226-May-08 3:00 
AnswerRe: Reading external application field value... Pin
Derek Viljoen27-May-08 18:05
Derek Viljoen27-May-08 18:05 
AnswerRe: Reading external application field value... Pin
Tariq A Karim9-Jun-08 16:52
Tariq A Karim9-Jun-08 16:52 
QuestionIssue debugging the class liabrary Pin
Vipul Mehta26-May-08 2:42
Vipul Mehta26-May-08 2:42 
AnswerRe: Issue debugging the class liabrary Pin
Derek Viljoen27-May-08 18:07
Derek Viljoen27-May-08 18:07 
QuestionError:The request failed with HTTP status 400: Bad Request Pin
AshSah26-May-08 0:25
AshSah26-May-08 0:25 

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.