Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes:
"C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/net/DatagramSocketImpl.java
/* * @(#)DatagramSocketImpl.java 1.12 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.net; import java.io.FileDescriptor; import java.io.IOException; import java.io.InterruptedIOException; /** * Abstract datagram and multicast socket implementation base class. * @author Pavani Diwanji * @since JDK1.1 */ public abstract class DatagramSocketImpl implements SocketOptions { protected int localPort; /** * The file descriptor object * @since JDK1.1 */ protected FileDescriptor fd; /** * Creates a datagram socket * @since JDK1.1 */ protected abstract void create() throws SocketException; /** * Binds a datagram socket to a local port and address. * @since JDK1.1 */ protected abstract void bind(int lport, InetAddress laddr) throws SocketException; /** * Sends a datagram packet. The packet contains the data and the * destination address to send the packet to. * @param packet to be sent. * @since JDK1.1 */ protected abstract void send(DatagramPacket p) throws IOException; /** * Peek at the packet to see who it is from. * @param return the address which the packet came from. * @since JDK1.1 */ protected abstract int peek(InetAddress i) throws IOException; /** * Receive the datagram packet. * @param Packet Received. * @since JDK1.1 */ protected abstract void receive(DatagramPacket p) throws IOException; /** * Set the TTL (time-to-live) option. * @param TTL to be set. * @since JDK1.1 */ protected abstract void setTTL(byte ttl) throws IOException; /** * Retrieve the TTL (time-to-live) option. * @since JDK1.1 */ protected abstract byte getTTL() throws IOException; /** * Join the multicast group. * @param multicast address to join. * @since JDK1.1 */ protected abstract void join(InetAddress inetaddr) throws IOException; /** * Leave the multicast group. * @param multicast address to leave. * @since JDK1.1 */ protected abstract void leave(InetAddress inetaddr) throws IOException; /** * Close the socket. * @since JDK1.1 */ protected abstract void close(); /** * Get the local port. * @since JDK1.1 */ protected int getLocalPort() { return localPort; } /** * Get the datagram socket file descriptor * @since JDK1.1 */ protected FileDescriptor getFileDescriptor() { return fd; } }
⏎ java/net/DatagramSocketImpl.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 175050👍, 0💬
Popular Posts:
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...