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. MFC Sockets

MFC Sockets

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++sysadminhelptutorial
2 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.
  • C Offline
    C Offline
    cberam
    wrote on last edited by
    #1

    Hi, I have a MFC app with no dialogs,document/view.I have derived my class from CWinApp. My question is : 1.At one point My application has to wait for socket connections(act as server).how to write a code for this?.I'm using CAsyncSocket. 2.How to write a message loop/pumps for socket connections/messages? Pls help .I'm struggling. Thnaks Ram

    T 1 Reply Last reply
    0
    • C cberam

      Hi, I have a MFC app with no dialogs,document/view.I have derived my class from CWinApp. My question is : 1.At one point My application has to wait for socket connections(act as server).how to write a code for this?.I'm using CAsyncSocket. 2.How to write a message loop/pumps for socket connections/messages? Pls help .I'm struggling. Thnaks Ram

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      HI Ram, this Article demonstrate use of CAsyncSocket http://www.funducode.com/freevc/socket/socket1/socket1.htm[^]

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta

      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