Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: MikeAThon

Page 1 of 80 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    905

    Re: break up large TCP/IP packets

    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...
  2. Replies
    1
    Views
    1,511

    Re: A simple proxy server in C#

    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

    Mike
  3. Re: Simple proxy server in C# - Need help with relay logic

    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)...
  4. Replies
    279
    Views
    25,463

    Re: New Forum Update

    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...
  5. Re: Interpreting return code of recv() socket api

    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,...
  6. Replies
    5
    Views
    562

    Re: VeryLong Fractions

    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...
  7. Re: My send() socket call iis taking its own sweet time

    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...
  8. Re: How can I get two threads to run simultaneously in a single process?

    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...
  9. Replies
    4
    Views
    869

    Re: Originate TCP messages from either end?

    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...
  10. Re: creating multiple ports at server and client

    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...
  11. Re: How can I get two threads to run simultaneously in a single process?

    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)
    ...
  12. Replies
    4
    Views
    1,297

    Broken Stick Problem: Many Answers?

    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...
  13. Replies
    279
    Views
    25,463

    Re: New Forum Update

    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:
    29989

    Please...
  14. Replies
    3
    Views
    384

    Re: Getting a bitmap to redraw

    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...
  15. Replies
    11
    Views
    1,082

    Re: Glass Rod Problem

    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...
  16. Replies
    11
    Views
    1,082

    Re: Glass Rod Problem

    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...
  17. Replies
    6
    Views
    327

    Re: How to slow the program down?

    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...
  18. Replies
    6
    Views
    327

    Re: How to slow the program down?

    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...
  19. Re: Vadim Segal Need Your Help To Make The Web URL Static

    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.

    Mike
  20. Re: Retrieving Bit stream from the server through the Socket

    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.

    As Paul...
  21. Re: video processing - languages and libraries?

    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...
  22. Re: Multiple-readers, single-writer synchronization lock between processes

    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...
  23. Replies
    3
    Views
    536

    Re: MOVEMOUSE event!

    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...
  24. Re: Multiple-readers, single-writer synchronization lock between processes

    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...
  25. Replies
    279
    Views
    25,463

    Re: New Forum Update

    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...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center