Hi m joshi i want to know how to run spread demon for connecting with java api.. this is my java program and spread conf file.<br><br><br>Spread_Segment&nbsp; <a href="http://127.0.0.255:4803">127.0.0.255:4803</a> {<br><br>&nbsp;&nbsp;&nbsp; local1&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 127.0.0.1<br>
}<br><br><br>import spread.*;<br>import java.net.*;<br>/**<br>&nbsp;*<br>&nbsp;* @author root<br>&nbsp;*/<br><br>public class Spread1<br>{<br>private static SpreadConnection cn;<br>&nbsp;&nbsp;&nbsp; public static void main(String asd[])<br>&nbsp;&nbsp;&nbsp; {<br>String user = new String(&quot;User&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; String address = null;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; int port = 0;<br><br>&nbsp;&nbsp;&nbsp; try{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cn =new SpreadConnection();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cn.connect(InetAddress.getLocalHost(), 4803, null, false, false);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp; catch(SpreadException e)<br>
&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; System.out.print(&quot;Error&quot;);<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch(UnknownHostException e)<br>&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; System.out.print(&quot;Error&quot;);<br>&nbsp;&nbsp; }<br>}<br>}<br>