libgcj/2509: Socket.setKeepAlive() is not supported

p.thio@valescom.com p.thio@valescom.com
Sun Apr 8 05:06:00 GMT 2001


>Number:         2509
>Category:       libgcj
>Synopsis:       Socket.setKeepAlive() is not supported
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 08 05:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     p.thio@valescom.com
>Release:        GNU Java version 3.0 20010402 (prerelease) (i686-pc-linux-gnu)
>Organization:
>Environment:
Linux Redhat 7.0
>Description:
The method Socket.setKeepAlive() is missing.

Example:

import java.net.*;

class Test
{
    public static void
    main(String anArg[])
    {
        try
        {
            Socket s = new Socket("localhost", 5000);
            s.setKeepAlive(true);
        }
        catch (Exception e)
        {
            System.out.println(e);
            
        }
    }
}
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list