[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How to close a KSocket ? delete ?
From:       Thiago Macieira <thiagom () wanadoo ! fr>
Date:       2003-07-31 14:15:50
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Giuseppe Torelli wrote:
>Hi,
>
>How to close a socket with KSocket ?
>Is it enough to type:
>
>delete My_Socket;
>
>If so, why with netstat the socket still compare in the list, while if I
> close the program by clicking on the X icon, the socket immediately
> disappear from the netstat list ??

KSockets have been deprecated. You shouldn't be using them.

But, yes, that's how you close. When you do that, what state does the socket 
appear in? ESTABLISHED or TIME_WAIT?

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom@mail.com           
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic