:(
I've been a complete numpty! I had a try catch around the client Read() and it was not reporting the exception!!!!
I had thought the problem was with the server cus that's what I was working on.
User Profile
Collapse
-
Thanks for the reply.
No, that isn't the problem. The client is a windows service and the server is a console app. The client receives the first 2 responses but not the third. I'm not messing with the threads/streams/sockets in between requests so I must have set something somewhere, but what?Leave a comment:
-
Bytes sent but not receievd
Hi,
I need some ideas on where to start looking.
I have a client/server app I'm testing. Most of the work is done in the client. The server simply waits for a command then immediately sends a response, the server is a stub.
Both use the same NetworkStream for sending/receiving.
The client has 2 threads; the main thread and a second thread with a stream.Read() which waits for server responses.... -
I've been trying to produce some cut down code to illustrate what i'm doing but can not get anything to work :(
So, i'd appreciate it if u could give me some pointers. Ultimately my app will be a console app or service. I started off with a windows app just to get to grips with Form's and WebBrowser. I've been able to produce a very simple windows app that creates a form with a WebBrowser in, easy!!
I tried to modify...Leave a comment:
-
creating WebBrowser programmatically
Hi,
Background - I've create a windows application in VS and added a WebBrowser component and all works well.
I'm now trying to do this programmaticall y. My application now listens on a socket and when it receives a request it creates a new Form and adds a new WebBrowser.
The problem - All works well without the WebBrowser, the form is visible, but when I do "Controls.Add(w ebBrowser)" I see...
No activity results to display
Show More
Leave a comment: