Menu ▾ ▴

#10 UDPTransport.Close()

1.5
open
nobody
Gridkit (4)
5
2007-11-29
2007-11-29
No

The close method of the UDPTransport component, closes the socket but does not remove listeners(EvHandlers).

Additionally, since individual sockets can be shared by different components closing a socket affects other components when various listeners are in place.

Hence, It might be necessary to change the implementation of the close() mehtod, so when this is called individual instances remove only their listeners (EvHandlers). The socket will be closed automatically when no more listeners for this socket extist.

Discussion

  • CarlosFlores

    CarlosFlores - 2007-11-29

    Logged In: YES
    user_id=1919145
    Originator: YES

    However, There is no way to identify individual handlers owners, so maybe more information is needed.

     

Log in to post a comment.