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

Search:

Type: Posts; User: SugarBombs

Search: Search took 0.03 seconds.

  1. Re: [RESOLVED] Winsock UDP slows down to a stall.

    Quick question, do I need to make a new class for UdpState or is there a way to incorporate the object into the form class?
  2. Re: Winsock UDP slows down to a stall.

    After a quick read, I have an idea about the differences between C Style casts and C++-style casts, I will convert the C Style casts over to C++. Also, I briefly looked into static functions....
  3. Re: Winsock UDP slows down to a stall.

    Yes, the form designer errors out. I am attempting to move the class declaration elsewhere. After completing the class wizard the code does not compile. I am looking into this.

    Yes, there is an...
  4. Re: Winsock UDP slows down to a stall.

    Well, I figured the code issue out and now the code sends data from the server to the client. The receiving code does not block the form when there is no data incoming.

    Next I will attempt to...
  5. Re: Winsock UDP slows down to a stall.

    Working off the MSDN provided sample code I added the BeginReceive Method to my code. The code has an error I am unsure how to fix. The error is "no user suitable conversion defined from...
  6. Re: Winsock UDP slows down to a stall.

    So far using the UdpClient method I am able to send data from a client PC to the server PC just fine. (The code is simple compared to my original method.)

    However, I am trying to make remove the...
  7. Re: Winsock UDP slows down to a stall.

    I am looking at a few examples (link) of UPDClient Class, and I am unsure where to place this code into the form. Any pointers would help out greatly. Thank you.
  8. Re: Winsock UDP slows down to a stall.

    I was unclear. The statement about no extra code was intended to state there is no extra code outside the posted code and the supporting code for a form. ie, serial port, USB, or other I/Os that...
  9. Re: Winsock UDP slows down to a stall.

    Final addition: I swapped the client and the server apps on the two test PCs. With this, everything works as intended and there is no delay in communication. Does anyone have suggestions to where to...
  10. Re: Winsock UDP slows down to a stall.

    Also, the firewalls are disabled.
  11. [RESOLVED] Winsock UDP slows down to a stall.

    I am the designated coder for my college's engineering club's robot team and our goal is to pass data from one laptop to another via ad hoc wifi. (We need quick updates, not through-put, and not ACK)...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured