/[classpath]/classpath/java/net/PlainDatagramSocketImpl.java
ViewVC logotype

Diff of /classpath/java/net/PlainDatagramSocketImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by jewel, Thu Mar 20 17:04:02 2003 UTC revision 1.12 by mkoch, Tue Jun 24 05:33:39 2003 UTC
# Line 42  import java.io.IOException; Line 42  import java.io.IOException;
42  import gnu.classpath.Configuration;  import gnu.classpath.Configuration;
43    
44  /**  /**
45     * Written using on-line Java Platform 1.2 API Specification, as well
46     * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
47     * Status:  Believed complete and correct.
48     */
49    
50    /**
51   * This is the default socket implementation for datagram sockets.   * This is the default socket implementation for datagram sockets.
52   * It makes native calls to C routines that implement BSD style   * It makes native calls to C routines that implement BSD style
53   * SOCK_DGRAM sockets in the AF_INET family.   * SOCK_DGRAM sockets in the AF_INET family.
54   *   *
55   * @version 0.1   * @author Aaron M. Renn <arenn@urbanophile.com>
56   *   * @author Warren Levy <warrenl@cygnus.com>
  * @author Aaron M. Renn (arenn@urbanophile.com)  
57   */   */
58  public class PlainDatagramSocketImpl extends DatagramSocketImpl  public class PlainDatagramSocketImpl extends DatagramSocketImpl
59  {  {
   /**  
    * Option id for the IP_TTL (time to live) value.  
    */  
   private static final int IP_TTL = 0x1E61; // 7777  
   
   
60    // Static initializer to load native library    // Static initializer to load native library
61    static    static
62    {    {
# Line 68  public class PlainDatagramSocketImpl ext Line 67  public class PlainDatagramSocketImpl ext
67    }    }
68    
69    /**    /**
70       * Option id for the IP_TTL (time to live) value.
71       */
72      private static final int IP_TTL = 0x1E61; // 7777
73    
74      /**
75     * This is the actual underlying file descriptor     * This is the actual underlying file descriptor
76     */     */
77    protected int native_fd = -1;    protected int native_fd = -1;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26