Click here to Skip to main content
15,904,828 members
Home / Discussions / C#
   

C#

 
AnswerRe: Shift operator Pin
harold aptroot18-Dec-09 4:55
harold aptroot18-Dec-09 4:55 
AnswerRe: Shift operator Pin
Luc Pattyn18-Dec-09 5:09
sitebuilderLuc Pattyn18-Dec-09 5:09 
AnswerRe: Shift operator Pin
thungphan18-Dec-09 17:05
thungphan18-Dec-09 17:05 
GeneralRe: Shift operator Pin
harold aptroot19-Dec-09 3:29
harold aptroot19-Dec-09 3:29 
QuestionTwo ListViews Pin
Tagamoga18-Dec-09 2:38
Tagamoga18-Dec-09 2:38 
AnswerRe: Two ListViews Pin
benjymous18-Dec-09 3:14
benjymous18-Dec-09 3:14 
GeneralRe: Two ListViews Pin
Tagamoga18-Dec-09 3:29
Tagamoga18-Dec-09 3:29 
Questionzedgraph Pin
jashimu18-Dec-09 2:16
jashimu18-Dec-09 2:16 
AnswerMessage Closed Pin
18-Dec-09 2:50
stancrm18-Dec-09 2:50 
GeneralRe: zedgraph Pin
jashimu18-Dec-09 4:09
jashimu18-Dec-09 4:09 
QuestionHide database file from user Pin
NarendraSinghJTV18-Dec-09 1:53
NarendraSinghJTV18-Dec-09 1:53 
AnswerRe: Hide database file from user Pin
Ashfield18-Dec-09 2:02
Ashfield18-Dec-09 2:02 
GeneralRe: Hide database file from user Pin
NarendraSinghJTV18-Dec-09 2:33
NarendraSinghJTV18-Dec-09 2:33 
GeneralRe: Hide database file from user Pin
Saksida Bojan18-Dec-09 3:57
Saksida Bojan18-Dec-09 3:57 
GeneralRe: Hide database file from user Pin
NarendraSinghJTV18-Dec-09 17:51
NarendraSinghJTV18-Dec-09 17:51 
GeneralRe: Hide database file from user Pin
Saksida Bojan18-Dec-09 20:42
Saksida Bojan18-Dec-09 20:42 
GeneralRe: Hide database file from user Pin
Ashfield18-Dec-09 8:53
Ashfield18-Dec-09 8:53 
GeneralRe: Hide database file from user Pin
NarendraSinghJTV18-Dec-09 17:50
NarendraSinghJTV18-Dec-09 17:50 
GeneralRe: Hide database file from user Pin
Ashfield18-Dec-09 20:25
Ashfield18-Dec-09 20:25 
GeneralRe: Hide database file from user Pin
NarendraSinghJTV19-Dec-09 0:23
NarendraSinghJTV19-Dec-09 0:23 
QuestionHow to Find the documentation oF MSPastry Library in MSDN? Pin
ksaw12318-Dec-09 0:24
ksaw12318-Dec-09 0:24 
AnswerRe: How to Find the documentation oF MSPastry Library in MSDN? Pin
Dave Kreskowiak18-Dec-09 4:10
mveDave Kreskowiak18-Dec-09 4:10 
QuestionThreading Question Pin
Harvey Saayman17-Dec-09 23:11
Harvey Saayman17-Dec-09 23:11 
Hey guys

As in the post below I'm busy writing a TCP server. The servers TCP communications are executed asynchronously.

Someone suggested that I take the received bytes out of the asynchronous callback and process it in a separate thread. Lets say I have 100 clients sending data to the server, I can't have 100 threads(one for each client) processing data cause that would defy the object of writing this server asynchronously.

So what I need to do is have a pool of lets say 5 threads for arguments sake that will process the incoming data of ALL the connected clients... I've never done anything like this and have no idea where to start, is this what thread pools are used for?

If anyone could clarify this or point me in a direction i would be really grateful

Thanks Smile | :)

Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL

you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

AnswerRe: Threading Question Pin
#realJSOP17-Dec-09 23:40
professional#realJSOP17-Dec-09 23:40 
GeneralRe: Threading Question Pin
Harvey Saayman18-Dec-09 0:24
Harvey Saayman18-Dec-09 0:24 

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.