equal
deleted
inserted
replaced
61 |
61 |
62 DatagramSocket getDatagramSocket() { |
62 DatagramSocket getDatagramSocket() { |
63 return socket; |
63 return socket; |
64 } |
64 } |
65 |
65 |
|
66 int dataAvailable() { |
|
67 // default impl returns zero, which disables the calling |
|
68 // functionality |
|
69 return 0; |
|
70 } |
|
71 |
66 /** |
72 /** |
67 * Creates a datagram socket. |
73 * Creates a datagram socket. |
68 * @exception SocketException if there is an error in the |
74 * @exception SocketException if there is an error in the |
69 * underlying protocol, such as a TCP error. |
75 * underlying protocol, such as a TCP error. |
70 */ |
76 */ |