217 |
protected int getPort() { return port; } |
protected int getPort() { return port; } |
218 |
|
|
219 |
/** |
/** |
220 |
|
* Returns true or false when this socket supports sending urgent data |
221 |
|
* or not. |
222 |
|
* |
223 |
|
* @since 1.4 |
224 |
|
*/ |
225 |
|
protected boolean supportsUrgentData() |
226 |
|
{ |
227 |
|
// This method has to be overwritten by socket classes that support |
228 |
|
// sending urgend data. |
229 |
|
return false; |
230 |
|
} |
231 |
|
|
232 |
|
/** |
233 |
* Returns the local port this socket is bound to |
* Returns the local port this socket is bound to |
234 |
* |
* |
235 |
* @return The local port |
* @return The local port |