Menu

#1 Error while connecting

open
frosch03
network (2)
6
2004-09-14
2004-08-07
No

Hi,

after starting the server I made the following requests
./client 192.168.0.1 1 hallo
./client 192.168.0.1 1 hallo
./client 192.168.0.1 1 hallo <-- this one fails

The server takes only 2 requests, the third fails.

regards, andreas

Discussion

  • Andreas Baier

    Andreas Baier - 2004-08-07

    Logged In: YES
    user_id=1093470

    I forgot: It fails with the error message "ERROR while
    connecting"

    The client gets no response

     
  • Andreas Baier

    Andreas Baier - 2004-08-10

    Logged In: YES
    user_id=1093470

    I figured some things out:

    - the error occures in the get_connection method
    - the call to the accept(..) method fails. As reason, errno is
    set to "invalid argument".
    -accept(..) is setting this errorcode if the socket passed to it
    is not listening

    I could not fix this problem, because I don't know why this
    socket isn't listening.

    @frosch03 - can you check this out?

     
  • frosch03

    frosch03 - 2004-08-10

    Logged In: YES
    user_id=1095811

    Hi,

    this is a know'n problem. It seem to be not a softwareproblem,
    then an operating system problem. I don't know how to solve
    this, but im looking for a solution and post it here if i know
    more.

    greetings

     
  • Andreas Baier

    Andreas Baier - 2004-08-11

    Logged In: YES
    user_id=1093470

    I made another experience with this bug: It does not happen
    on all machines.

    On my test and development machine, where the display is
    connected the problem occurs. (linux from scratch - kernel
    2.4.21)

    But on my workstation PC (suse 8.0 - kernel 2.4.18), it does
    not appear!

    On which kernel version do you have this bug?

    regards,

    Andreas

     
  • Andreas Baier

    Andreas Baier - 2004-08-12
    • status: open --> closed
     
  • Andreas Baier

    Andreas Baier - 2004-09-10
    • status: closed --> closed
     
  • Andreas Baier

    Andreas Baier - 2004-09-12
    • status: closed --> closed
     
  • Andreas Baier

    Andreas Baier - 2004-09-13
    • status: closed --> closed
     
  • Andreas Baier

    Andreas Baier - 2004-09-14
    • priority: 5 --> 6
    • status: closed --> open
     

Log in to post a comment.