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. the winsock problem

the winsock problem

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminhelpquestion
20 Posts 7 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
    gggwb
    wrote on last edited by
    #1

    I creat a server application and a client application,and the client application can connect the server application,but everytime the server application will disappear after connect success.Who can tell me why?thank you every one..

    D C C 3 Replies Last reply
    0
    • G gggwb

      I creat a server application and a client application,and the client application can connect the server application,but everytime the server application will disappear after connect success.Who can tell me why?thank you every one..

      D Offline
      D Offline
      Don Box
      wrote on last edited by
      #2

      Some kind of bug is there, debug and check.

      Come online at:- jubinc@skype

      1 Reply Last reply
      0
      • G gggwb

        I creat a server application and a client application,and the client application can connect the server application,but everytime the server application will disappear after connect success.Who can tell me why?thank you every one..

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #3

        gggwb wrote:

        but everytime the server application will disappear

        a curse?

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        [my articles]

        G L 2 Replies Last reply
        0
        • C CPallini

          gggwb wrote:

          but everytime the server application will disappear

          a curse?

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          [my articles]

          G Offline
          G Offline
          gggwb
          wrote on last edited by
          #4

          CPallini,thank you for your help. not a curse disappear,is the server application disappear

          1 Reply Last reply
          0
          • G gggwb

            I creat a server application and a client application,and the client application can connect the server application,but everytime the server application will disappear after connect success.Who can tell me why?thank you every one..

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            gggwb wrote:

            but everytime the server application will disappear after connect success

            What do you mean disappear ? Does it crahes ? If yes, use your debugger to locate the problem and fix it. If no, then explain the problem more clearly.

            Cédric Moonen Software developer
            Charting control [v1.2]

            G 1 Reply Last reply
            0
            • C Cedric Moonen

              gggwb wrote:

              but everytime the server application will disappear after connect success

              What do you mean disappear ? Does it crahes ? If yes, use your debugger to locate the problem and fix it. If no, then explain the problem more clearly.

              Cédric Moonen Software developer
              Charting control [v1.2]

              G Offline
              G Offline
              gggwb
              wrote on last edited by
              #6

              to Cedric Moonen is the server application window disappear

              D C 2 Replies Last reply
              0
              • G gggwb

                to Cedric Moonen is the server application window disappear

                D Offline
                D Offline
                Don Box
                wrote on last edited by
                #7

                Window is disappearing means some kind of exception is there. So debug and locate it.

                Come online at:- jubinc@skype

                1 Reply Last reply
                0
                • G gggwb

                  to Cedric Moonen is the server application window disappear

                  C Offline
                  C Offline
                  Cedric Moonen
                  wrote on last edited by
                  #8

                  :~ It's the 3rd time you say that... You've been told to debug the application to see what happens because it is probably a crash of the application. So, did you do it ?

                  Cédric Moonen Software developer
                  Charting control [v1.2]

                  G C 2 Replies Last reply
                  0
                  • C Cedric Moonen

                    :~ It's the 3rd time you say that... You've been told to debug the application to see what happens because it is probably a crash of the application. So, did you do it ?

                    Cédric Moonen Software developer
                    Charting control [v1.2]

                    G Offline
                    G Offline
                    gggwb
                    wrote on last edited by
                    #9

                    of course,I have did it,but I still cant't find the reason,perhaps my level is too low.. OU!my God!Who can help me~!

                    C D 2 Replies Last reply
                    0
                    • C Cedric Moonen

                      :~ It's the 3rd time you say that... You've been told to debug the application to see what happens because it is probably a crash of the application. So, did you do it ?

                      Cédric Moonen Software developer
                      Charting control [v1.2]

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #10

                      Cedric Moonen wrote:

                      So, did you do it ?

                      Indeed he did. And the debugger reported: Unhandled exception at 0x00413641 of application.exe: 0xC0000005: the server application window disappeared :-D

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      [my articles]

                      C L 2 Replies Last reply
                      0
                      • G gggwb

                        of course,I have did it,but I still cant't find the reason,perhaps my level is too low.. OU!my God!Who can help me~!

                        C Offline
                        C Offline
                        Cedric Moonen
                        wrote on last edited by
                        #11

                        So, where does it crashes ? What is the error message ? Did you check your variables to see if everything is correct just before the crash ?

                        gggwb wrote:

                        Who can help me

                        If you don''t give any information, we certainly can't.

                        Cédric Moonen Software developer
                        Charting control [v1.2]

                        1 Reply Last reply
                        0
                        • C CPallini

                          Cedric Moonen wrote:

                          So, did you do it ?

                          Indeed he did. And the debugger reported: Unhandled exception at 0x00413641 of application.exe: 0xC0000005: the server application window disappeared :-D

                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                          [my articles]

                          C Offline
                          C Offline
                          Cedric Moonen
                          wrote on last edited by
                          #12

                          Please make sure there is no curse cast on your software :-D

                          Cédric Moonen Software developer
                          Charting control [v1.2]

                          C 1 Reply Last reply
                          0
                          • C Cedric Moonen

                            Please make sure there is no curse cast on your software :-D

                            Cédric Moonen Software developer
                            Charting control [v1.2]

                            C Offline
                            C Offline
                            CPallini
                            wrote on last edited by
                            #13

                            Ehm... :-O I'm quite sure there is, actually... :laugh:

                            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                            [my articles]

                            1 Reply Last reply
                            0
                            • C CPallini

                              Cedric Moonen wrote:

                              So, did you do it ?

                              Indeed he did. And the debugger reported: Unhandled exception at 0x00413641 of application.exe: 0xC0000005: the server application window disappeared :-D

                              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                              [my articles]

                              L Offline
                              L Offline
                              Luc Pattyn
                              wrote on last edited by
                              #14

                              CPallini wrote:

                              0xC0000005

                              That is an access violation. Did you renew your passport in time?

                              Luc Pattyn [Forum Guidelines] [My Articles]


                              This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


                              C 1 Reply Last reply
                              0
                              • L Luc Pattyn

                                CPallini wrote:

                                0xC0000005

                                That is an access violation. Did you renew your passport in time?

                                Luc Pattyn [Forum Guidelines] [My Articles]


                                This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


                                C Offline
                                C Offline
                                CPallini
                                wrote on last edited by
                                #15

                                I was about to remove or mangle the number, but, after a quick look at the forum, I said to myself: "Don't worry buddy, Luc isn't around... ;) " My bad! :sigh:

                                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                [my articles]

                                L 1 Reply Last reply
                                0
                                • G gggwb

                                  of course,I have did it,but I still cant't find the reason,perhaps my level is too low.. OU!my God!Who can help me~!

                                  D Offline
                                  D Offline
                                  David Crow
                                  wrote on last edited by
                                  #16

                                  gggwb wrote:

                                  OU!

                                  Hey, another Oklahoma fan. Go Sooners!

                                  "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                                  "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                                  L 1 Reply Last reply
                                  0
                                  • C CPallini

                                    I was about to remove or mangle the number, but, after a quick look at the forum, I said to myself: "Don't worry buddy, Luc isn't around... ;) " My bad! :sigh:

                                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                    [my articles]

                                    L Offline
                                    L Offline
                                    Luc Pattyn
                                    wrote on last edited by
                                    #17

                                    I'm always lurking around, and access violations don't go unnoticed. :-D

                                    Luc Pattyn [Forum Guidelines] [My Articles]


                                    This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


                                    1 Reply Last reply
                                    0
                                    • C CPallini

                                      gggwb wrote:

                                      but everytime the server application will disappear

                                      a curse?

                                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                      [my articles]

                                      L Offline
                                      L Offline
                                      led mike
                                      wrote on last edited by
                                      #18

                                      no not the cursor :laugh: This is like the second post I read today and I just about tore a stomach muscle from laughing.

                                      led mike

                                      C 1 Reply Last reply
                                      0
                                      • D David Crow

                                        gggwb wrote:

                                        OU!

                                        Hey, another Oklahoma fan. Go Sooners!

                                        "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

                                        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                                        L Offline
                                        L Offline
                                        led mike
                                        wrote on last edited by
                                        #19

                                        DavidCrow wrote:

                                        Hey, another Oklahoma fan.

                                        Or Kyle has strayed out of the Soapbox again. :(

                                        led mike

                                        1 Reply Last reply
                                        0
                                        • L led mike

                                          no not the cursor :laugh: This is like the second post I read today and I just about tore a stomach muscle from laughing.

                                          led mike

                                          C Offline
                                          C Offline
                                          CPallini
                                          wrote on last edited by
                                          #20

                                          You're a bad guy, I know. :-D [added] and now http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=2401445[^] I know even better. [/added] :)

                                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                          [my articles]

                                          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