@Override
	protected String toDSL() {
		String result = String.format("tcp --port=%d ", port);
		if (host != null) {
			result = result + "--host=" + host;
		}
		return result;
	}
Return the bytes received by the sink

@return bytes received by the sink
@throws IOException exception getting bytes from ByteArrayOutputStream
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/TcpSink.java