Menu

SocketPort constructor hanging...

Help
2001-04-03
2001-04-05
  • Dave Huseby

    Dave Huseby - 2001-04-03

    I haven't spent much time on this bug but I thought i'd throw it out to see if there are any ideas that might help me.  I have a session object that inherits from the SocketPort object.  When a new connection comes into my server I create a new session object passing the constructor the socket and the least loaded SocketService thread.  The first connection I make to the server works just fine...the constructor comes back and I successfuly read data from the client.  The server then drops the connection by deleting the session object (SocketPort).  This seems to work because the socket goes dead and the client sees the disconnect.  But then when I try to re-connect to the server, I see the incoming connection (socket.isPendingConnect() returns true) and then when I try to create a new session object (SocketPort) by handing it the socket and the least loaded SocketService object the constructor hangs.  My derived session object constructor doesn't even get called which tells me that the SocketPort constructor hangs for some reason.  Anybody else experiencing these problems?

     
    • David Sugar

      David Sugar - 2001-04-05

      I am going to try to create a test case for this for 1.4.2.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.