Click here to Skip to main content
16,014,838 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to find out if an object type supports a given arithmetic operator Pin
PIEBALDconsult5-Aug-09 9:19
mvePIEBALDconsult5-Aug-09 9:19 
QuestionProblem when reading single numeric values from an Excel worksheet Pin
KeesDekker5-Aug-09 4:50
KeesDekker5-Aug-09 4:50 
AnswerRe: Problem when reading single numeric values from an Excel worksheet Pin
Eddy Vluggen5-Aug-09 5:03
professionalEddy Vluggen5-Aug-09 5:03 
GeneralRe: Problem when reading single numeric values from an Excel worksheet Pin
KeesDekker5-Aug-09 22:01
KeesDekker5-Aug-09 22:01 
QuestionFast messages not sent through TcpClient Pin
bocsiboti5-Aug-09 4:29
bocsiboti5-Aug-09 4:29 
AnswerRe: Fast messages not sent through TcpClient Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:54
Ennis Ray Lynch, Jr.5-Aug-09 4:54 
GeneralRe: Fast messages not sent through TcpClient Pin
bocsiboti6-Aug-09 3:04
bocsiboti6-Aug-09 3:04 
GeneralRe: Fast messages not sent through TcpClient Pin
Ennis Ray Lynch, Jr.6-Aug-09 6:06
Ennis Ray Lynch, Jr.6-Aug-09 6:06 
I see your problem. Eliminate your List of connections from both the client and the server, pass the id in the stream, and use one connection for all of the communications. It will work just fine.

ie:

RecieveThread(){
   BinaryReader br = new BinaryReader(stream);
   while(go){
      int messageId = br .ReadInt32();
      sring message = br .ReadString();
   }
}


This is untested psuedo code just to give you a starting point.


Need custom software developed? I do C# development and consulting all over the United States.

A man said to the universe:
"Sir I exist!"
"However," replied the universe,
"The fact has not created in me
A sense of obligation."
--Stephen Crane


GeneralRe: Fast messages not sent through TcpClient Pin
bocsiboti6-Aug-09 20:04
bocsiboti6-Aug-09 20:04 
AnswerRe: Fast messages not sent through TcpClient Pin
Luc Pattyn5-Aug-09 5:07
sitebuilderLuc Pattyn5-Aug-09 5:07 
GeneralRe: Fast messages not sent through TcpClient Pin
bocsiboti6-Aug-09 3:06
bocsiboti6-Aug-09 3:06 
GeneralRe: Fast messages not sent through TcpClient Pin
Luc Pattyn6-Aug-09 3:09
sitebuilderLuc Pattyn6-Aug-09 3:09 
QuestionMaking a wrapper: execlp or fork [modified] Pin
ajester655-Aug-09 4:28
ajester655-Aug-09 4:28 
QuestionTrying to create a shortcut... Pin
JollyMansArt5-Aug-09 4:25
JollyMansArt5-Aug-09 4:25 
AnswerRe: Trying to create a shortcut... Pin
Jimmanuel5-Aug-09 5:32
Jimmanuel5-Aug-09 5:32 
QuestionReplication Feature of SQL 2005 Pin
Abdul Rahman Hamidy5-Aug-09 3:38
Abdul Rahman Hamidy5-Aug-09 3:38 
AnswerRe: Replication Feature of SQL 2005 Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:19
Ennis Ray Lynch, Jr.5-Aug-09 4:19 
GeneralRe: Replication Feature of SQL 2005 Pin
Abdul Rahman Hamidy5-Aug-09 4:26
Abdul Rahman Hamidy5-Aug-09 4:26 
GeneralRe: Replication Feature of SQL 2005 Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:30
Ennis Ray Lynch, Jr.5-Aug-09 4:30 
GeneralRe: Replication Feature of SQL 2005 Pin
Abdul Rahman Hamidy5-Aug-09 4:35
Abdul Rahman Hamidy5-Aug-09 4:35 
GeneralRe: Replication Feature of SQL 2005 Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:44
Ennis Ray Lynch, Jr.5-Aug-09 4:44 
GeneralRe: Replication Feature of SQL 2005 Pin
Abdul Rahman Hamidy5-Aug-09 4:51
Abdul Rahman Hamidy5-Aug-09 4:51 
QuestionCan we import managed DLL Pin
jpk4205-Aug-09 3:24
jpk4205-Aug-09 3:24 
AnswerRe: Can we import managed DLL Pin
Luc Pattyn5-Aug-09 3:31
sitebuilderLuc Pattyn5-Aug-09 3:31 
AnswerRe: Can we import managed DLL Pin
jpk4205-Aug-09 3:33
jpk4205-Aug-09 3:33 

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.