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. Accept incoming TCP connections when logged off?

Accept incoming TCP connections when logged off?

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminhelpquestion
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.
  • O Offline
    O Offline
    One Stone
    wrote on last edited by
    #1

    Hi! I'm currently programming some tool that installs a process (automatically running at startup as admin), which accepts incoming network TCP connections, processes some data and returns something. Think of something like a FTP or web server. I'm using Windows 2000. Now I got a problem: while I'm logged on, the tool works perfectly, everything runs fine. The server accepts all clients and returns the correct data. But when I log off, Win2k doesn't accept incoming connections any more... It's not the process what isn't working, the process remains perfectly in the background and isn't killed or stopped. It's just that Windows 2000 seems to block incoming connections while nobody is logged on... As soon as somebody is logged on, the server gets the incoming connections again... Any way to tell Win2k to accept incoming connections while nobody is logged on?? Maybe we can even define the port?? Or maybe I must call something from my program? Thanks and best regards

    B 1 Reply Last reply
    0
    • O One Stone

      Hi! I'm currently programming some tool that installs a process (automatically running at startup as admin), which accepts incoming network TCP connections, processes some data and returns something. Think of something like a FTP or web server. I'm using Windows 2000. Now I got a problem: while I'm logged on, the tool works perfectly, everything runs fine. The server accepts all clients and returns the correct data. But when I log off, Win2k doesn't accept incoming connections any more... It's not the process what isn't working, the process remains perfectly in the background and isn't killed or stopped. It's just that Windows 2000 seems to block incoming connections while nobody is logged on... As soon as somebody is logged on, the server gets the incoming connections again... Any way to tell Win2k to accept incoming connections while nobody is logged on?? Maybe we can even define the port?? Or maybe I must call something from my program? Thanks and best regards

      B Offline
      B Offline
      Bob Stanneveld
      wrote on last edited by
      #2

      Are you using the shell to do some work for you? Because there is no shell when no users are logged on... If you havn't, you should develop your program as a service[^]. Hope this helps.. Multiply it by infinity and take it beyond eternity and you'll still have no idea about what I'm talking about.

      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