summaryrefslogtreecommitdiff
path: root/libjava/java/net/DatagramSocket.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/net/DatagramSocket.java')
-rw-r--r--libjava/java/net/DatagramSocket.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/libjava/java/net/DatagramSocket.java b/libjava/java/net/DatagramSocket.java
index 091ebf98d1a..81c8b3cdbf9 100644
--- a/libjava/java/net/DatagramSocket.java
+++ b/libjava/java/net/DatagramSocket.java
@@ -466,6 +466,7 @@ public class DatagramSocket
}
catch (SocketException e)
{
+ // This means simply not connected.
}
}
@@ -488,9 +489,9 @@ public class DatagramSocket
* will block until a packet is received from the network. On return,
* the passed in <code>DatagramPacket</code> is populated with the data
* received and all the other information about the packet.
- *
- * @param p The datagram packet to put the incoming data into.
- *
+ *
+ * @param p A <code>DatagramPacket</code> for storing the data
+ *
* @exception IOException If an error occurs.
* @exception SocketTimeoutException If setSoTimeout was previously called
* and the timeout has expired.