Search:
Type: Posts; User: EmbeddedC
Search:
Search took 0.02 seconds.
-
February 2nd, 2009, 09:39 AM
Hello guys,
Calling the Socket.Close() will do the trick as Mutant Fruit already said.
This makes thus possible to complete my concept for writing a GUI friendly socket class.
There are several...
-
February 2nd, 2009, 06:22 AM
Mutant Fruit,
Thnx for your respons.
This is not happening, it doesn't return with 0 bytes. I know this concept, cause that is what I do using C++ with win32 API. So though I call...
-
January 29th, 2009, 11:20 AM
MadHatter,
I disconnected the socket while it was connected, but Socket.Read(...) didn't return with an exception or something it just kept waiting for some data to receive in blocking mode,...
-
January 29th, 2009, 10:02 AM
Thanks for the reply,
What I did is wrote a simple server (in C++) which creates a new thread when accepted a clientconnection (which is the one written in C#). In the created thread of the...
-
January 29th, 2009, 03:45 AM
Dear friends,
I use TimeOut because I run this piece of code in a seperate thread. To signal the thread that it has to close, I want to check, in the thread ofcourse, the signalstate...
-
January 28th, 2009, 09:35 AM
After calling Socket.Read(...), the socket times out after 5000 ms. Because I set Socket.ReceiveTimout to 5000. If it times out, an exception occurs and catch the exception. But I don't need to do...
-
July 11th, 2008, 03:04 AM
Hello guys,
I was searching the problem of deadlock, I did a lot of trace-loggings to follow exactly what's going on. I printed the logs and marked every thread where they are and what they do,...
-
July 10th, 2008, 08:25 AM
It really is hard,
I put everywhere trace's to follow what's going on in my app, but it's hard to understand what's going on.
Is there a way to include thread-names when calling...
-
July 10th, 2008, 07:32 AM
Hello friends,
I'm an allround programmer (C++, embedded C and a bit C#).
I want to show some logging on a simple form from multiple threads. But I get situations where I got stuck in a deadlock....
-
Thanks for your post guys!
Mr. Acces violation, you are totaly right about the useless jpeg data. The code is not wrong, but I understood the documentation wrong. I analized the data and found out...
-
Hello best programmers,
I have a small camera module I communicate with via serial port.
I can read data from the camera which is a JPEG compressed format picture of VGA size (640x480), but it...
-
November 2nd, 2007, 06:27 AM
Visual Studio 2005.
C# beginner
Experience: C/C++ (Visual C++)
Hello best programmers,
From my class I want to call a function which is in the Main(). The problem is, my class will be...
-
October 24th, 2007, 03:14 AM
Matthias,
Thank you very much for your value posts.
I think I need to study some techniques in C# how to post a "message" from one thread to another thread.
I also read that delegate and event...
-
October 23rd, 2007, 08:46 AM
Thank you for your reply my friend,
Than what is the purpose of an event?
In that case I can throw away the event and use only a delegate to call a function.
Isn't that when an event has fired...
-
October 23rd, 2007, 03:55 AM
I rather do the safe way, that's why C# is written for I think.
Otherwise we should go back to C++.
I must learn and understand the C# philosophy, I think that's the difficult part. To distinguish...
-
October 23rd, 2007, 03:30 AM
Hello MathiasD,
First, thank you very much for your reply and your time to give me an example.
I understand your example, and found out it's not so easy to implement an event. It takes some lines...
-
October 22nd, 2007, 08:36 AM
Hello best programmers,
I manged to get a socketconnection with another pc and I can receive data and read it. Now I want to call a function in the main when I receive data. I understand I need to...
-
October 22nd, 2007, 08:20 AM
Thank you very much for your reply Boudi,
Your post is very clear, I understand that I have to make everything, like variables, functions etc..., as members of a class. And when instantiated, the...
-
October 22nd, 2007, 05:44 AM
Hello best programmers,
I'm actually from the C/C++ corner, so maybe I'll ask a stupid question about C#. Suppose I call a function/method and give a pointer as an argument, is this possible in...
-
Ok, I got it:
private void MainMap_FormClosed(object sender, FormClosedEventArgs e)
{
}
Create eventhandler in MainForm.designer by dubbleclicking in the propperty item. and do some...
-
How about closing the main application and before closing you want to do some processing. For example, before closing all created files must be deleted.
In C++ you can do that in the constructor of...
-
April 23rd, 2007, 05:35 AM
-
April 23rd, 2007, 05:33 AM
I guess Sangeeta means painting in the background. I actually don't know how your program behaves. I think it should be possible, you need to do the painting in an apart thread...or something.
-
April 23rd, 2007, 05:12 AM
Hahaha,
That's funny, only Hobson understood Fatboy's question.
Fatboy would like to create an application something similar like Matlab (but I guess a very small one).
Peace!
-
April 17th, 2007, 05:13 AM
Hi Cilu,
To be honest, I have no experience with databases and XML at all. I just don't have the time to learn it with two kids and a wife. The youngest one is just one year, and that big guy...
|
Click Here to Expand Forum to Full Width
|