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

Accept incoming connections when logged off?

Scheduled Pinned Locked Moved The Lounge
sysadminhelpquestion
21 Posts 11 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 One Stone

    I actually don't know if it's a configuration problem with Win2k or what I have to add to my program to make it work... Initially I thought it's a configuration problem, since I can log on (program working) and log off (program not working). You know what's wrong? Note: if you think the answer is a programming answer, you can post it in the VC++ forum ;-)

    B Offline
    B Offline
    Brian Delahunty
    wrote on last edited by
    #7

    Even if it is an OS configuration problem is still shouldn't have been asked here. It should have been asked in the Operating Systems message board (OS /SysAdmin). Regards, Brian Dela :-) Now Reading: Code Complete 2ed[^] by Steve McConnell

    A 1 Reply Last reply
    0
    • A Anders Molin

      You need to make your program a Windows Service. And to address another reply you got, I don't see how this is a programming question. - Anders My Photos

      WDevs - The worlds first DSP, free blog space, email and more

      X Offline
      X Offline
      Xiangyang Liu
      wrote on last edited by
      #8

      Anders Molin wrote: I don't see how this is a programming question. If it is not already a service, then he needs to know how to do it. That is almost a programming question. In any case, he needs to know how a service and a regular program are programmatically different. ;P[

      My articles and software tools

      ](http://mysite.verizon.net/XiangYangL/index.htm)

      A 1 Reply Last reply
      0
      • X Xiangyang Liu

        Anders Molin wrote: I don't see how this is a programming question. If it is not already a service, then he needs to know how to do it. That is almost a programming question. In any case, he needs to know how a service and a regular program are programmatically different. ;P[

        My articles and software tools

        ](http://mysite.verizon.net/XiangYangL/index.htm)

        A Offline
        A Offline
        Anders Molin
        wrote on last edited by
        #9

        Well, I have seen regulars, here on CP, post stuff thats closer to a programming question and no one dare to tell it to them, so I have no problem with the original question in this thread ;) - Anders My Photos

        WDevs - The worlds first DSP, free blog space, email and more

        1 Reply Last reply
        0
        • B Brian Delahunty

          Even if it is an OS configuration problem is still shouldn't have been asked here. It should have been asked in the Operating Systems message board (OS /SysAdmin). Regards, Brian Dela :-) Now Reading: Code Complete 2ed[^] by Steve McConnell

          A Offline
          A Offline
          Anders Molin
          wrote on last edited by
          #10

          Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... Or when christian graus talks about Managed DirectX usage from his program. I'm a bit tired of seeing that the regulars can do stuff but the not-so-known members can not... Nothing personal, you just happened to trigger me to finally write it ;) - Anders My Photos

          WDevs - The worlds first DSP, free blog space, email and more

          B L R 3 Replies 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 regard

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #11

            Make your app a service, and it will work as long as windows is running. Of course, you have to hope windows doesn't have a meltdown while nobody is logged on, but hey, you have to start trusting Microsoft's os at some point. (Did I really just say that?) ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            R G 2 Replies Last reply
            0
            • A Anders Molin

              Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... Or when christian graus talks about Managed DirectX usage from his program. I'm a bit tired of seeing that the regulars can do stuff but the not-so-known members can not... Nothing personal, you just happened to trigger me to finally write it ;) - Anders My Photos

              WDevs - The worlds first DSP, free blog space, email and more

              B Offline
              B Offline
              Brian Delahunty
              wrote on last edited by
              #12

              > Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... First of all.. I was pointing the person the correct message board... where they are most likely to get a proper response rather than get flamed. If you look over the repsonses I've given to people who have posted incorrectly (in my opinion) I don't get bitchy or abuse the person.. I just point them to the place where they will most likely get a correct answer... and normally the people I point to those message boards are people who are new to CP, so they probably don't even know of the other message boards. For example, if PW, or MD, or somebody who has been on CP for ages came in and started asking programming questions in the lounge then I would probably just laugh at them... Anyway.. I honestly can't remember any posts in recent times from CG or MM or RW about programming/hardware etc. Unfortunatly I don't get to spend much time here on CP anymore as I'm a bit busy so when I do, I just drop into the lounge and read the first page or two of posts. I don't go beyond that so there is a fairly high chance that is you look at these posts by MM, RW, CG or whoever else, I'm not posting in or around the same posts. Add to that the fact that ranting about something IS NOT asking a question, it's ranting... so chances are I wouldn't point somebody who is ranting to a programming message board anyway.. what is the point of going there to rant? Although constant ranting used too get people sent to The Soapbox. The person in this post was asking for specific help/suggestions... In my opinion I pointed the person, who just happend to be new to CP, to the correct location. In my opinion I done it in a nice, friendly way. If it sounded outerwise then it's probably because I was up working until 6am this morning, then my house mate got up to go to work at 6:30 and the shower just happens to be attached to the other side of the wall that the headboard of my bed is against and Ulla has this strange, but extremely cute, need to get up out of bed at around 7am every morning and start pottering around the house doing stuff... So I'm tired.. maybe I wasn't my usual joyful, happy, colourful self. But still... What the hell did I do wrong? :confused: :wtf: :sigh: >Nothing personal, you just happened to trigger me to finally write it I know. No personal offence taken whatsoever. It would take an awful lot to offend me :-D Regards, Brian Dela :-) Now Reading:

              A 1 Reply Last reply
              0
              • B Brian Delahunty

                > Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... First of all.. I was pointing the person the correct message board... where they are most likely to get a proper response rather than get flamed. If you look over the repsonses I've given to people who have posted incorrectly (in my opinion) I don't get bitchy or abuse the person.. I just point them to the place where they will most likely get a correct answer... and normally the people I point to those message boards are people who are new to CP, so they probably don't even know of the other message boards. For example, if PW, or MD, or somebody who has been on CP for ages came in and started asking programming questions in the lounge then I would probably just laugh at them... Anyway.. I honestly can't remember any posts in recent times from CG or MM or RW about programming/hardware etc. Unfortunatly I don't get to spend much time here on CP anymore as I'm a bit busy so when I do, I just drop into the lounge and read the first page or two of posts. I don't go beyond that so there is a fairly high chance that is you look at these posts by MM, RW, CG or whoever else, I'm not posting in or around the same posts. Add to that the fact that ranting about something IS NOT asking a question, it's ranting... so chances are I wouldn't point somebody who is ranting to a programming message board anyway.. what is the point of going there to rant? Although constant ranting used too get people sent to The Soapbox. The person in this post was asking for specific help/suggestions... In my opinion I pointed the person, who just happend to be new to CP, to the correct location. In my opinion I done it in a nice, friendly way. If it sounded outerwise then it's probably because I was up working until 6am this morning, then my house mate got up to go to work at 6:30 and the shower just happens to be attached to the other side of the wall that the headboard of my bed is against and Ulla has this strange, but extremely cute, need to get up out of bed at around 7am every morning and start pottering around the house doing stuff... So I'm tired.. maybe I wasn't my usual joyful, happy, colourful self. But still... What the hell did I do wrong? :confused: :wtf: :sigh: >Nothing personal, you just happened to trigger me to finally write it I know. No personal offence taken whatsoever. It would take an awful lot to offend me :-D Regards, Brian Dela :-) Now Reading:

                A Offline
                A Offline
                Anders Molin
                wrote on last edited by
                #13

                I did not say you did anything wrong, I'm just a bit bugged about how things works here. Meaning, oldtimers which for some reason are popular can get away with a lot, and when new people do the same they get told that it's not appropriate for the lounge... Basically I think everyone should move their OS (as in Operating System, not Open Source) questions to the OS forum, and I tried to tell one of the other that once, and I got rather unpopular... Ahhh well, thats the way it is I think, some people will always get away with more than others X| Brian, it was nothing personal as I said, and I don't think you did anything wrong and I think you are a nice guy, you just happened to trigger something in me ;) - Anders My Photos

                WDevs - The worlds first DSP, free blog space, email and more

                B 1 Reply Last reply
                0
                • A Anders Molin

                  I did not say you did anything wrong, I'm just a bit bugged about how things works here. Meaning, oldtimers which for some reason are popular can get away with a lot, and when new people do the same they get told that it's not appropriate for the lounge... Basically I think everyone should move their OS (as in Operating System, not Open Source) questions to the OS forum, and I tried to tell one of the other that once, and I got rather unpopular... Ahhh well, thats the way it is I think, some people will always get away with more than others X| Brian, it was nothing personal as I said, and I don't think you did anything wrong and I think you are a nice guy, you just happened to trigger something in me ;) - Anders My Photos

                  WDevs - The worlds first DSP, free blog space, email and more

                  B Offline
                  B Offline
                  Brian Delahunty
                  wrote on last edited by
                  #14

                  > Brian, it was nothing personal as I said I didn't take it personally at all. I agree with you completely... It shoud lbe the same for everyone. But IMO the post was one that would receive the best response by going to the correct forum. > I think you are a nice guy Thanks :-) Your not so bad yourself :-D Regards, Brian Dela :-) Now Reading: Code Complete 2ed[^] by Steve McConnell

                  1 Reply Last reply
                  0
                  • A Anders Molin

                    Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... Or when christian graus talks about Managed DirectX usage from his program. I'm a bit tired of seeing that the regulars can do stuff but the not-so-known members can not... Nothing personal, you just happened to trigger me to finally write it ;) - Anders My Photos

                    WDevs - The worlds first DSP, free blog space, email and more

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #15

                    Anders Molin wrote: Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... Cause Roger and me are special. Anders Molin wrote: Or when christian graus talks about Managed DirectX usage from his program. I can't understand this myself, he's a Tasmanian for christ sake. Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So i had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                    J 1 Reply Last reply
                    0
                    • L Lost User

                      Anders Molin wrote: Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... Cause Roger and me are special. Anders Molin wrote: Or when christian graus talks about Managed DirectX usage from his program. I can't understand this myself, he's a Tasmanian for christ sake. Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So i had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                      J Offline
                      J Offline
                      Jerry Hammond
                      wrote on last edited by
                      #16

                      Michael Martin wrote: Cause Roger and me are special. You know what they say--special is as special does...

                      I Do Whatever My Rice Krispies Tell Me To. Toasty0.com

                      1 Reply Last reply
                      0
                      • A Anders Molin

                        Brian, why dont you say the same when michael martin or roger wright asks/rants about OS stuff in here... Or when christian graus talks about Managed DirectX usage from his program. I'm a bit tired of seeing that the regulars can do stuff but the not-so-known members can not... Nothing personal, you just happened to trigger me to finally write it ;) - Anders My Photos

                        WDevs - The worlds first DSP, free blog space, email and more

                        R Offline
                        R Offline
                        Roger Wright
                        wrote on last edited by
                        #17

                        Ranting about OS problems, or sharing a frustrating experience with one is not posting a question, but in general I agree with you. Asking specific questions about an OS or network problem is appropriate in the OS/Admin forum. In fact, that's usually my first stop at CP for the day, just in case there's something new there that I can help with. I do feel that, in view of the low traffic level there, if that fails to generate a response it is sometimes appropriate to escalate a question to the Lounge, especially if it may be instructive ( or humorous ) to many, in order to generate more responses. It should be a rare thing, though, not a daily occurance. This post was not a programming question, and as such is not prohibited from the Lounge. I would have gladly answered it here if I had a clue how to solve the problem, but I've experienced similar things with Win2K myself and never quite figured out how to fix them. It may have been better to post it in the OS/Admin forum first, but I see no problem with it eventually winding up here. We're all geeks, and technical stuff is our peculiar idea of fun. I have no idea what the rest of humanity does for entertainment, but fixing stuff works for me.:-D "If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          Make your app a service, and it will work as long as windows is running. Of course, you have to hope windows doesn't have a meltdown while nobody is logged on, but hey, you have to start trusting Microsoft's os at some point. (Did I really just say that?) ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          R Offline
                          R Offline
                          Roger Wright
                          wrote on last edited by
                          #18

                          John Simmons / outlaw programmer wrote: you have to start trusting Microsoft's os at some point. I can't believe you said that, John!:omg: I think that would make a great sig...:laugh: "If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City

                          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 regard

                            J Offline
                            J Offline
                            Joan M
                            wrote on last edited by
                            #19

                            I needed something like that some time ago because our accountants program licence system needs it... as I couldn't modify the code because the program is not mine, I solved it using the XYNTService app. you can find it here in CP at this address: http://www.codeproject.com/system/xyntservice.asp[^] Hope this helps. NOTE: it worked for me in a WinXP Pro.

                            https://www.robotecnik.com freelance robots, PLC and CNC programmer.

                            R 1 Reply Last reply
                            0
                            • J Joan M

                              I needed something like that some time ago because our accountants program licence system needs it... as I couldn't modify the code because the program is not mine, I solved it using the XYNTService app. you can find it here in CP at this address: http://www.codeproject.com/system/xyntservice.asp[^] Hope this helps. NOTE: it worked for me in a WinXP Pro.

                              R Offline
                              R Offline
                              Roger Wright
                              wrote on last edited by
                              #20

                              Nice find, Joan! Thanks for the link!:-D "If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City

                              1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                Make your app a service, and it will work as long as windows is running. Of course, you have to hope windows doesn't have a meltdown while nobody is logged on, but hey, you have to start trusting Microsoft's os at some point. (Did I really just say that?) ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                G Offline
                                G Offline
                                Gary R Wheeler
                                wrote on last edited by
                                #21

                                John, if you're a diabetic, you really need to check your glucose level. You sound like you're running at a level of 30 or so. :laugh:


                                Software Zen: delete this;

                                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