5354555657585960616263
s = new ServerSocket(); reuseAddress = s.getReuseAddress(); } catch( IOException e ) { throw new RuntimeIOException( "Failed to get the default configuration.", e ); } finally { if( s != null ) {
236237238239240241242243
{ return ch.socket().getReceiveBufferSize(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
253254255256257258259260261
receiveBufferSize = ch.socket().getReceiveBufferSize(); DatagramSessionImpl.this.readBufferSize = receiveBufferSize; } catch( SocketException e ) { throw new RuntimeIOException( e ); } } }
266267268269270271272273
{ return ch.socket().getBroadcast(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
278279280281282283284285
{ ch.socket().setBroadcast( broadcast ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
290291292293294295296297
{ return ch.socket().getSendBufferSize(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
304305306307308309310311312
{ ch.socket().setSendBufferSize( sendBufferSize ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } } }
317318319320321322323324
{ return ch.socket().getReuseAddress(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
329330331332333334335336
{ ch.socket().setReuseAddress( reuseAddress ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
343344345346347348349350351352353
{ return ch.socket().getTrafficClass(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } } else { return 0;