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. Socket Server

Socket Server

Scheduled Pinned Locked Moved C / C++ / MFC
questionwpfwcfsysadmin
1 Posts 1 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.
  • G Offline
    G Offline
    Garth Watkins
    wrote on last edited by
    #1

    Hi all. I'm creating a NT service which listens for connection requests on localhost and some arbitrary port. The service needs to be as sturdy as possible. I have a main thread wich listens for connections, and I create a new thread for every connection request. I need to make sure that the main thread keeps on listening for connections and not bomb out. Has anyone ever had major problems binding to the loopback address and listening for incoming connections. In other words, what is the likelyhood of getting major errors while trying to bind and listen for incoming connections ? Cheers Garth

    Cheers Garth F stands for Fundamentalism, a degenerative brain disorder cured by self-detonation.

    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