Click here to Skip to main content
15,905,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: c#:how to install new font? Pin
Pete O'Hanlon12-Jul-09 22:46
mvePete O'Hanlon12-Jul-09 22:46 
GeneralRe: c#:how to install new font? Pin
dan!sh 12-Jul-09 22:53
professional dan!sh 12-Jul-09 22:53 
QuestionDeleting a Registry Key Gives a Security Exception Pin
Richard Andrew x6412-Jul-09 17:37
professionalRichard Andrew x6412-Jul-09 17:37 
AnswerRe: Deleting a Registry Key Gives a Security Exception Pin
Richard Andrew x6412-Jul-09 17:47
professionalRichard Andrew x6412-Jul-09 17:47 
QuestionHow do i select the radiobutton depending on the info on my textbox? Pin
daffy_200312-Jul-09 16:31
daffy_200312-Jul-09 16:31 
AnswerRe: How do i select the radiobutton depending on the info on my textbox? Pin
PIEBALDconsult12-Jul-09 17:00
mvePIEBALDconsult12-Jul-09 17:00 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
daffy_200312-Jul-09 17:20
daffy_200312-Jul-09 17:20 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
peishen8812-Jul-09 17:36
peishen8812-Jul-09 17:36 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
PIEBALDconsult12-Jul-09 18:20
mvePIEBALDconsult12-Jul-09 18:20 
AnswerRe: How do i select the radiobutton depending on the info on my textbox? Pin
Natza Mitzi12-Jul-09 18:20
Natza Mitzi12-Jul-09 18:20 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
daffy_200312-Jul-09 18:53
daffy_200312-Jul-09 18:53 
QuestionIssues with adding a web reference using WSDL.exe Pin
Tina P12-Jul-09 13:14
Tina P12-Jul-09 13:14 
AnswerRe: Issues with adding a web reference using WSDL.exe Pin
Ravi Bhavnani12-Jul-09 15:11
professionalRavi Bhavnani12-Jul-09 15:11 
GeneralRe: Issues with adding a web reference using WSDL.exe Pin
Tina P12-Jul-09 15:51
Tina P12-Jul-09 15:51 
GeneralRe: Issues with adding a web reference using WSDL.exe Pin
Ravi Bhavnani12-Jul-09 18:27
professionalRavi Bhavnani12-Jul-09 18:27 
QuestionEntity Framework: Create new Object (when relation exists) PinPopular
TheShihan12-Jul-09 12:58
TheShihan12-Jul-09 12:58 
QuestionWIA with Vista... Pin
Jacob Dixon12-Jul-09 10:08
Jacob Dixon12-Jul-09 10:08 
AnswerRe: WIA with Vista... Pin
Jacob Dixon12-Jul-09 14:45
Jacob Dixon12-Jul-09 14:45 
AnswerRe: WIA with Vista... Pin
Jacob Dixon12-Jul-09 15:28
Jacob Dixon12-Jul-09 15:28 
GeneralRe: WIA with Vista... Pin
Sean Devoy26-Aug-09 14:44
Sean Devoy26-Aug-09 14:44 
GeneralRe: WIA with Vista... Pin
Jacob Dixon26-Aug-09 15:12
Jacob Dixon26-Aug-09 15:12 
QuestionImprove Speed of send message from server to all Clients Pin
Vu Nam Son12-Jul-09 7:34
Vu Nam Son12-Jul-09 7:34 
I write new application server/client. I use TcpClient. When my server is listening and allow many computers connect. Example : My server have 50 computers client connected. I have problem when I want to send 1 message to all clients, I must use FOR/NEXT therefore It cost 5 seconds or more to send 1 message to 50 Computers client. Now I want to improve speed of send message, Please give me advice.

Please see code below

//Send Admin Message
public static void sendAdminMessage(string sMessage)
{

//ArrayList LIST_CLIENT contain all connections of client
if (LIST_CLIENT.Count > 0)
{
Object []arr = LIST_CLIENT.ToArray();
for (int i = 0; i < arr.Length; i++)
{
try
{
MyClient client = (MyClient)arr[i];
send(client.TcpClient, sMessage);
}
catch(Exception e) {
Console.WriteLine(e.Message);
}
}
}
}
AnswerRe: Improve Speed of send message from server to all Clients Pin
Christian Graus12-Jul-09 7:36
protectorChristian Graus12-Jul-09 7:36 
AnswerRe: Improve Speed of send message from server to all Clients Pin
Behrooz_cs12-Jul-09 9:27
Behrooz_cs12-Jul-09 9:27 
QuestionHow can I intercept audio output? Pin
blametom12-Jul-09 7:01
blametom12-Jul-09 7:01 

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.