Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: How Can I add a backgroudimage to toolbar Pin
Heath Stewart15-Nov-03 17:45
protectorHeath Stewart15-Nov-03 17:45 
QuestionHow To use WebRequest to POST Data to web server Pin
Scott_Lee_Wing15-Nov-03 5:59
Scott_Lee_Wing15-Nov-03 5:59 
AnswerRe: How To use WebRequest to POST Data to web server Pin
Heath Stewart15-Nov-03 6:51
protectorHeath Stewart15-Nov-03 6:51 
AnswerRe: How To use WebRequest to POST Data to web server Pin
Arjan Einbu16-Nov-03 3:36
Arjan Einbu16-Nov-03 3:36 
GeneralCalling subs by name Pin
krzysztofo@poczta.onet.pl15-Nov-03 1:16
susskrzysztofo@poczta.onet.pl15-Nov-03 1:16 
GeneralRe: Calling subs by name Pin
Heath Stewart15-Nov-03 4:50
protectorHeath Stewart15-Nov-03 4:50 
GeneralRe: Calling subs by name Pin
Kris{PL}16-Nov-03 0:41
Kris{PL}16-Nov-03 0:41 
GeneralC# networking problem Pin
Anonymous15-Nov-03 0:40
Anonymous15-Nov-03 0:40 
I have a problem I have been struggling with for 3 days now. In my application I have some network connection. The client and server sends some data back and forth with no problem at all in the beginning. Both the client and server have a thread to deal with the network stuff. The initialization works fine when the client and server reads passwords and such. Then both the server and client goes into a loop where they wait for a command from the other. These commands never reach their destination. The initialization and the loop is in the same function. I create a NetworkStream from the TcpClient and a StreamReader and StreamWriter from the NetworkStream. These are created directly after the initialization of the connection and are visible in the entire method. In the loop I use a StreamReader.Peek() check to see when a command is available. The Peek method never finds anything to read. In both the server and the client I use the exact same objects that worked without any problems during the initialization in the same methods.
Does anyone have any idea why this isnt working? Is there anything I have missed about network streams?

GeneralRe: C# networking problem Pin
mhmoud rawas15-Nov-03 18:55
mhmoud rawas15-Nov-03 18:55 
GeneralRe: C# networking problem Pin
Anonymous15-Nov-03 23:17
Anonymous15-Nov-03 23:17 
GeneralRe: C# networking problem Pin
badro16-Nov-03 1:27
badro16-Nov-03 1:27 
GeneralRe: C# networking problem Pin
Anonymous16-Nov-03 2:40
Anonymous16-Nov-03 2:40 
GeneralDynamic Type Retrieval - Help! Pin
J. Dunlap14-Nov-03 12:13
J. Dunlap14-Nov-03 12:13 
GeneralRe: Dynamic Type Retrieval - Help! Pin
leppie14-Nov-03 22:07
leppie14-Nov-03 22:07 
GeneralRe: Dynamic Type Retrieval - Help! Pin
J. Dunlap14-Nov-03 22:14
J. Dunlap14-Nov-03 22:14 
GeneralRe: Dynamic Type Retrieval - Help! Pin
leppie14-Nov-03 22:34
leppie14-Nov-03 22:34 
GeneralCrystal reports interaction.. Pin
mohammad_mostafa14-Nov-03 10:59
mohammad_mostafa14-Nov-03 10:59 
GeneralLicense and distribution Pin
zhoulhh14-Nov-03 9:32
zhoulhh14-Nov-03 9:32 
GeneralRe: License and distribution Pin
Heath Stewart15-Nov-03 4:53
protectorHeath Stewart15-Nov-03 4:53 
GeneralKeyboard Hook Pin
trendb14-Nov-03 8:08
trendb14-Nov-03 8:08 
Generalweird string question Pin
RB@Emphasys14-Nov-03 4:52
RB@Emphasys14-Nov-03 4:52 
GeneralRe: weird string question Pin
Daniel M. Edwards14-Nov-03 5:43
Daniel M. Edwards14-Nov-03 5:43 
GeneralRe: weird string question Pin
Mike Ellison14-Nov-03 20:07
Mike Ellison14-Nov-03 20:07 
GeneralRe: weird string question Pin
RB@Emphasys15-Nov-03 6:16
RB@Emphasys15-Nov-03 6:16 
GeneralRe: weird string question Pin
leppie14-Nov-03 22:04
leppie14-Nov-03 22:04 

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.