Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CSocket possible bug on win2k

CSocket possible bug on win2k

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    ucs
    wrote on last edited by
    #1

    Hello CSocket of mfc70 and mfc71 works properly under Win98 and WinXP, but have a bug with CSocket::OnReceive() under Win2k. is there any solution ? thank you.

    O 1 Reply Last reply
    0
    • U ucs

      Hello CSocket of mfc70 and mfc71 works properly under Win98 and WinXP, but have a bug with CSocket::OnReceive() under Win2k. is there any solution ? thank you.

      O Offline
      O Offline
      olinn
      wrote on last edited by
      #2

      what bug? return value error?

      U 1 Reply Last reply
      0
      • O olinn

        what bug? return value error?

        U Offline
        U Offline
        ucs
        wrote on last edited by
        #3

        Hello I tested some apps like CHATSRVR/CHATTER (vc++ sample) under win98, winxp and win2k (with mfc70 and mfc71). on win2k CSocket::OnReceive() receives only 5 to 10 messages, then nothing will be captured. but if we build the same apps with vc++ 6.0 (mfc42), it will be ok. thank you.

        O 1 Reply Last reply
        0
        • U ucs

          Hello I tested some apps like CHATSRVR/CHATTER (vc++ sample) under win98, winxp and win2k (with mfc70 and mfc71). on win2k CSocket::OnReceive() receives only 5 to 10 messages, then nothing will be captured. but if we build the same apps with vc++ 6.0 (mfc42), it will be ok. thank you.

          O Offline
          O Offline
          olinn
          wrote on last edited by
          #4

          Oh, I am still working with VC++ 6.0 (mfc42) and cannot help you. And I have a problem, too. Could you do me a favor? When I use winsock (CSockect e.g.) to recieve the message of websites by sending "Get ...", majority are no problem but others can't work. I opened these ones in IE, They displayed a Security Alert messagebox with "Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the site's security certificate." Why I recieve nothing under this condition?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups