Code example for Socket

Methods: shutdownOutput

0
						 * {@link XmlRpcLiteHttpTransport#close()}. 
						 */ 
						public void close() throws IOException { 
							flush();
							if(!(socket instanceof SSLSocket)) {
								socket.shutdownOutput();
							} 
						} 
					}; 
					break; 
				} catch (ConnectException e) {
					if (tries >= retries) {
						throw new XmlRpcException("Failed to connect to " 
								+ hostname + ":" + port + ": " + e.getMessage(), e);
					} else { 
	                    try { 
	                        Thread.sleep(delayMillis);
	                    } catch (InterruptedException ignore) {
	                    } 
					} 
				}