Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: Query Analyzer Pin
Pete O'Hanlon29-May-08 10:02
mvePete O'Hanlon29-May-08 10:02 
QuestionChanging columns of data Pin
Karlos_V29-May-08 3:18
Karlos_V29-May-08 3:18 
AnswerRe: Changing columns of data Pin
leppie29-May-08 3:19
leppie29-May-08 3:19 
GeneralRe: Changing columns of data Pin
Karlos_V29-May-08 3:23
Karlos_V29-May-08 3:23 
GeneralRe: Changing columns of data Pin
leppie29-May-08 4:18
leppie29-May-08 4:18 
GeneralRe: Changing columns of data Pin
Karlos_V29-May-08 4:27
Karlos_V29-May-08 4:27 
GeneralRe: Changing columns of data Pin
darkelv29-May-08 4:42
darkelv29-May-08 4:42 
Questionhttp://www.codeproject.com/script/Forums/View.aspx?fid=1650&select=2573421#xx2573421xx Pin
tamour29-May-08 1:56
tamour29-May-08 1:56 
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.
AnswerCross post already in .NET framwork message board Pin
SomeGuyThatIsMe29-May-08 2:21
SomeGuyThatIsMe29-May-08 2:21 
AnswerA blatant cross post. Please ignore. Pin
Pete O'Hanlon29-May-08 2:22
mvePete O'Hanlon29-May-08 2:22 
QuestionICSharpZipLib remove password Pin
JustRonald29-May-08 0:38
JustRonald29-May-08 0:38 
AnswerRe: ICSharpZipLib remove password Pin
Judah Gabriel Himango29-May-08 8:14
sponsorJudah Gabriel Himango29-May-08 8:14 
QuestionAccess is denied when listen on a port Pin
George_George29-May-08 0:32
George_George29-May-08 0:32 
AnswerRe: Access is denied when listen on a port Pin
leppie29-May-08 0:43
leppie29-May-08 0:43 
GeneralRe: Access is denied when listen on a port Pin
George_George29-May-08 1:22
George_George29-May-08 1:22 
GeneralRe: Access is denied when listen on a port Pin
leppie29-May-08 3:12
leppie29-May-08 3:12 
GeneralRe: Access is denied when listen on a port Pin
George_George31-May-08 2:03
George_George31-May-08 2:03 
GeneralRe: Access is denied when listen on a port Pin
Zoltan Balazs31-May-08 2:29
Zoltan Balazs31-May-08 2:29 
GeneralRe: Access is denied when listen on a port Pin
George_George31-May-08 2:44
George_George31-May-08 2:44 
GeneralRe: Access is denied when listen on a port Pin
Zoltan Balazs31-May-08 2:52
Zoltan Balazs31-May-08 2:52 
GeneralRe: Access is denied when listen on a port Pin
George_George31-May-08 2:54
George_George31-May-08 2:54 
GeneralRe: Access is denied when listen on a port Pin
Zoltan Balazs29-May-08 6:18
Zoltan Balazs29-May-08 6:18 
GeneralRe: Access is denied when listen on a port Pin
George_George31-May-08 2:05
George_George31-May-08 2:05 
GeneralRe: Access is denied when listen on a port Pin
Zoltan Balazs31-May-08 2:40
Zoltan Balazs31-May-08 2:40 
GeneralRe: Access is denied when listen on a port Pin
George_George31-May-08 2:45
George_George31-May-08 2:45 

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.