Click here to Skip to main content
15,845,598 members
Home / Discussions / C#
   

C#

 
QuestionDoes the .Net scheduled Timer has a vb version? Pin
PHdeviloth2-Mar-15 21:55
PHdeviloth2-Mar-15 21:55 
QuestionRe: Does the .Net scheduled Timer has a vb version? Pin
Richard MacCutchan2-Mar-15 22:25
mveRichard MacCutchan2-Mar-15 22:25 
AnswerRe: Does the .Net scheduled Timer has a vb version? Pin
F-ES Sitecore2-Mar-15 23:02
professionalF-ES Sitecore2-Mar-15 23:02 
AnswerRe: Does the .Net scheduled Timer has a vb version? Pin
ZurdoDev3-Mar-15 3:45
professionalZurdoDev3-Mar-15 3:45 
QuestionNeed help on FTPS file transmission using X509 Certificates Pin
Satheesh Kumar Subramanian2-Mar-15 19:03
Satheesh Kumar Subramanian2-Mar-15 19:03 
AnswerRe: Need help on FTPS file transmission using X509 Certificates Pin
Richard MacCutchan2-Mar-15 22:24
mveRichard MacCutchan2-Mar-15 22:24 
QuestionStreamReader in TcpListener Pin
Member 114922552-Mar-15 8:14
Member 114922552-Mar-15 8:14 
AnswerRe: StreamReader in TcpListener Pin
Paulo Zemek2-Mar-15 8:45
mvaPaulo Zemek2-Mar-15 8:45 
The Read method reads a character as an int. I believe that if you do:
message += (char)reader.Read(); (without the ToString())
it will probably work.

Yet, I believe your code has many problems...
I would recommend using WriteLine, not only Write, after all TCP/IP packets may be split in many messages. Your while() will fail if that happens.
Also, as you don't use another thread or asynchronous calls, the server is only able to deal with one client at a time.
GeneralRe: StreamReader in TcpListener Pin
Member 114922552-Mar-15 9:25
Member 114922552-Mar-15 9:25 
QuestionDatagridview row replay Pin
sdfsdfsdfewrew3feff1-Mar-15 6:03
sdfsdfsdfewrew3feff1-Mar-15 6:03 
GeneralRe: Datagridview row replay Pin
Richard MacCutchan1-Mar-15 7:15
mveRichard MacCutchan1-Mar-15 7:15 
GeneralRe: Datagridview row replay Pin
sdfsdfsdfewrew3feff1-Mar-15 9:23
sdfsdfsdfewrew3feff1-Mar-15 9:23 
GeneralRe: Datagridview row replay Pin
Richard MacCutchan1-Mar-15 23:38
mveRichard MacCutchan1-Mar-15 23:38 
GeneralRe: Datagridview row replay Pin
Eddy Vluggen2-Mar-15 9:02
professionalEddy Vluggen2-Mar-15 9:02 
Questioncreating a generic factory class that handles ValueTypes ? Pin
BillWoodruff1-Mar-15 0:36
professionalBillWoodruff1-Mar-15 0:36 
AnswerRe: creating a generic factory class that handles ValueTypes ? Pin
OriginalGriff1-Mar-15 1:11
mveOriginalGriff1-Mar-15 1:11 
GeneralRe: creating a generic factory class that handles ValueTypes ? Pin
BillWoodruff1-Mar-15 2:23
professionalBillWoodruff1-Mar-15 2:23 
AnswerRe: creating a generic factory class that handles ValueTypes ? Pin
manchanx1-Mar-15 2:53
professionalmanchanx1-Mar-15 2:53 
GeneralRe: creating a generic factory class that handles ValueTypes ? Pin
BillWoodruff1-Mar-15 7:26
professionalBillWoodruff1-Mar-15 7:26 
AnswerRe: creating a generic factory class that handles ValueTypes ? Pin
Richard Deeming2-Mar-15 3:24
mveRichard Deeming2-Mar-15 3:24 
QuestionIs there a way to make "speakers" pickup 440hz? Pin
Member 1148826328-Feb-15 19:13
Member 1148826328-Feb-15 19:13 
AnswerRe: Is there a way to make "speakers" pickup 440hz? Pin
OriginalGriff28-Feb-15 21:05
mveOriginalGriff28-Feb-15 21:05 
AnswerRe: Is there a way to make "speakers" pickup 440hz? Pin
Frankie-C1-Mar-15 2:21
Frankie-C1-Mar-15 2:21 
AnswerRe: Is there a way to make "speakers" pickup 440hz? Pin
GrooverFromHolland1-Mar-15 2:25
GrooverFromHolland1-Mar-15 2:25 
QuestionIs there Any Way to Set the Namespace of a Web Service in Configuration instead of Code? Pin
jojoba2027-Feb-15 23:52
jojoba2027-Feb-15 23:52 

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.