Type: Posts; User: MikeAThon
Search took 0.10 seconds.
September 4th, 2012, 07:31 PM
No. TCP does a terrific job on packetizing, and the algorithms have been fine-tuned for years based on years of research. You would not be able to do as good a job as TCP.
In fact, if you are...
August 16th, 2012, 09:05 PM
Please refrain from double-posting. See my response at http://forums.codeguru.com/showthread.php?526585-Simple-proxy-server-in-C-Need-help-with-relay-logic&p=2080983#post2080983
August 16th, 2012, 09:04 PM
In your thread, you check for the URL of the target webserver only once, at the beginning of receipt of data from the client. This corresponds to your observation that the inital URL (like google)...
August 13th, 2012, 06:44 PM
Two major issues, noticed immediately after the update, still have not been resolved:
1. The site is slow as molassas. Replies to threads and new threads take 60 seconds or more, resulting in...
August 6th, 2012, 03:30 PM
Both are graceful closures, so by use of socket functions alone, you will not be able to determine whether the socket was closed "normally" by the server or by you yourself, in another thread,...
August 3rd, 2012, 07:05 PM
The GMP page explicitly states that it provides for rational numbers of arbitray precision. See http://gmplib.org/
Here is the link to the GMP manual for describing the functions available for...
August 3rd, 2012, 06:33 PM
Your code suggests that your architecture uses blocking sockets.
If so, well, blocking sockets by their very nature will block. The block can be frustrating, but it allows you to write code with...
July 18th, 2012, 08:18 PM
It's my understanding that the TTS SDK includes a sample program that does exactly what you are attempting, using a "talking microphone" with different mouth shapes for each different viseme. Look...
July 16th, 2012, 08:29 PM
I don't fully follow your question. Regardless of which endpoint initiates a TCP connection, the conversation after connection is always two-directional. For example, even if endpoint 1 is the one...
July 16th, 2012, 08:21 PM
If you are using UDP and Windows, your poor throughput with jumbo packets might be because of a known issue regarding the registry entries respectively called FastSendDatagramThreshold and...
July 16th, 2012, 07:53 PM
You can get your result in a single thread, by enabling the eventing model in the TTS api.
See "Using Events with TTS (SAPI 5.3)" at http://msdn.microsoft.com/en-us/library/ms720165(v=vs.85)
This post is inspired by a comment from Nuzzle in “Glass Rod Problem”, http://forums.codeguru.com/showthread.php?524949-Glass-Rod-Problem&p=2073747#post2073747. Internet searches show that the...
Is someone still looking at the "Search" issue? I just did an "Advanced Search" on my own user name, and only one result came up: a thread from back in 2003.
Here's a screenshot:
June 28th, 2012, 07:07 PM
Good gracious, what are you doing!?!?
To set the bitmap for a static, simply send it a STM_SETIMAGE message, with the bitmap handle cast to an LPARAM.
IIRC, you are responsible for ownership of...
June 28th, 2012, 04:40 PM
Paul's advice is exactly correct.
Nevertheless, you might have "lucked out" with your program because of one of the design goals of IEEE-753/754 on the format of floating point numbers. According...
June 27th, 2012, 08:38 PM
You can also think in terms of building a rod from three pieces. Pick a first length randomly between 0 and 1. In half the population, the first length will be greater than 1/2, so no triangles can...
June 27th, 2012, 04:19 PM
Give us an idea of the time intervals involved.
If the time intervals are modest (eg, around 1/4 to 1 or 2 seconds) then one approach might be to set up a timer (call SetTimer) and monitor...
June 26th, 2012, 06:48 PM
The problem isn't that your program is running too quickly; in fact it's running too slow. You're drawing 10,000,000 line segments and outputting 10,000,000 lines of text. Why do you think that...
June 25th, 2012, 08:41 PM
This is strictly a function of the browser, not under the control of the website, which is fortunate for all of us who are forced to tolerate miscreants like you and your phishing expeditions.
June 25th, 2012, 08:34 PM
It's not possible to get the characters codes for "space and ̉" in just 16 bits. The "̉", for example, is a Unicode character, and for that character alone, at least 16 bits are required.
June 22nd, 2012, 05:40 PM
Openvc (written by Intel and now supported by Willow Garage) has proved popular, but it is primarily written for C/C++. See http://opencv.willowgarage.com/wiki/
According to the Wikipedia page on...
June 22nd, 2012, 05:14 PM
You replaced Sleep(1) with WFSO(..., 1). In the circumstances you show here, WFSO with a timeout is no better than Sleep. Both are bad. In fact, anything with (1) or (10) or...
June 21st, 2012, 08:58 PM
You are painting on the child window (i.e., the static window) from the WM_PAINT of the parent. That's usually poor practice; the child window should do all of its own painting, in response to...
June 21st, 2012, 04:14 PM
You can't write code for inter-process synchronization at the user level. All such code must be at the kernel level which, of course, you have no access to. As such, you must rely on the...
June 21st, 2012, 04:02 PM
I agree, this was a nice feature. It gave nice feedback, in that it showed (on one screen) all replies to threads you had subscribed to, as well as all recent reputation.
In the new look, you can...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!