<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Max MSP  via internet</title>
		<atom:link href="http://cycling74.com/forums/topic/max-msp-via-internet/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/max-msp-via-internet/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 08:50:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/max-msp-via-internet/#post-43547</guid>
					<title><![CDATA[Max MSP  via internet]]></title>
					<link>http://cycling74.com/forums/topic/max-msp-via-internet/#post-43547</link>
					<pubDate>Sun, 26 Apr 2009 20:56:33 +0000</pubDate>
					<dc:creator>Freak_Out</dc:creator>

					<description>
						<![CDATA[
						<p>Hello guys</p>
<p>
I&#8217;ve got what i think to be a very basic question, anyway&#8230;<br />
i&#8217;m trying to communicate via my MaxMSP 5 to another computer via internet, using MaxMSP 5 as well. I&#8217;ve used a whole number of objects like mxj (with the net.tcp. class) the netsend/netreceive combination and even jit.net.send and so on. Both me and the other guy at the computer on the other side have opened relevant ports and i&#8217;ve got his ip address. which brings me to the question: should i use his EXTERNAL or LOCAL ip ? could this be the cause of the problem?(i&#8217;ve tried both, anyway&#8230;) &#8217;cause it&#8217;s not working and it&#8217;s driving me sortof crazy&#8230;a big thank you to anyone who could solve the issue.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156273</guid>
					<title><![CDATA[Re: Max MSP  via internet]]></title>
					<link>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156273</link>
					<pubDate>Sun, 26 Apr 2009 23:05:45 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

					<description>
						<![CDATA[
						<p><a href="http://www.cycling74.com/story/2006/10/23/104657/91">http://www.cycling74.com/story/2006/10/23/104657/91</a></p>
<p>Maybe the section &#8220;How do I find out my IP address&#8221; could be useful.<br />
J-F.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156274</guid>
					<title><![CDATA[Re: Max MSP  via internet]]></title>
					<link>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156274</link>
					<pubDate>Mon, 27 Apr 2009 09:34:30 +0000</pubDate>
					<dc:creator>georghajdu@mac.com</dc:creator>

					<description>
						<![CDATA[
						<p>i created an mxj object named myPublicIp which helps to give you your public IP address necessary for communication over the net. The objects gets the content of a particular website that displays your external IP address.</p>
<p>import com.cycling74.max.*;<br />
import java.io.*;<br />
import java.net.*;</p>
<p>public class myPublicIp extends MaxObject {</p>
<p>	private class publicIpGetter extends Thread implements Executable {<br />
	      String theLine = &#8220;test&#8221;;</p>
<p>	public void run(){</p>
<p>	  	try {<br />
		  URL u = new URL(&#8220;<a href="http://myip.dk/">http://myip.dk/</a>&#8220;);<br />
		  int port = 80;<br />
		  Socket s = new Socket(u.getHost(), port);<br />
		  OutputStream theOutput = s.getOutputStream();<br />
		  PrintWriter pw = new PrintWriter(theOutput, true);<br />
//		  System.out.println(u.getFile());<br />
		  pw.println(&#8220;GET &#8221; + u.getFile() + &#8221; HTTP/1.1&#8243;);<br />
		  pw.println(&#8220;Host: myip.dk&#8221;);<br />
		  pw.println(&#8220;Connection: Close&#8221;);<br />
		  pw.println();<br />
//		 read the response<br />
		  BufferedReader in = new BufferedReader( <br />
				  new InputStreamReader( s.getInputStream() ));<br />
		  boolean loop    = true;<br />
//		  StringBuffer sb = new StringBuffer(8096);</p>
<p>		  while (loop) {<br />
		      if ( in.ready() ) {<br />
//		          int i=0;</p>
<p>		          while ((theLine = in.readLine()) != null) {<br />
		        	  theLine =in.readLine();<br />
		        		     outlet(0,theLine);<br />
//		        		     System.out.println(&#8220;cr&#8221;);<br />
		          }<br />
		          loop = false;<br />
		      }<br />
//		      Thread.currentThread().sleep(50);<br />
		  }</p>
<p>//		   display the response to the out console<br />
//		  outlet(0, sb.toString());<br />
		  s.close();<br />
		MaxQelem q = new MaxQelem(this);<br />
		q.set();<br />
		}<br />
		catch (MalformedURLException e) {<br />
		  post(&#8220;<a href="http://www.myip.dk">http://www.myip.dk</a>&#8221; + &#8221; is not a valid URL&#8221;);<br />
		}<br />
		catch (IOException e) {<br />
//		  post(e);<br />
		}<br />
    }</p>
<p>	public void execute() {<br />
//	outlet(0, theLine);<br />
//	outlet(0, &#8220;test&#8221;);</p>
<p>	}<br />
	}</p>
<p>	private static final String[] INLET_ASSIST = new String[]{<br />
		&#8220;inlet 1 help&#8221;<br />
	};<br />
	private static final String[] OUTLET_ASSIST = new String[]{<br />
		&#8220;outlet 1 help&#8221;<br />
	};</p>
<p>	public myPublicIp(Atom[] args)<br />
	{<br />
		declareInlets(new int[]{DataTypes.ALL});<br />
		declareOutlets(new int[]{DataTypes.ALL});</p>
<p>		setInletAssist(INLET_ASSIST);<br />
		setOutletAssist(OUTLET_ASSIST);</p>
<p>	}</p>
<p>	public void bang()<br />
	{<br />
		publicIpGetter pig = new publicIpGetter();<br />
		pig.start();<br />
	}</p>
<p>	public void inlet(int i)<br />
	{<br />
	}</p>
<p>	public void inlet(float f)<br />
	{<br />
	}</p>
<p>
	public void list(Atom[] list)<br />
	{<br />
	}</p>
<p>}</p>
<p>
Compile the code and use the object inside the following abstraction which does post-processing of the html code. The output will be your external IP address:</p>
<p>
<div><span id="toggle156274-0" class="patchtoggle" onmousedown="toggleMaxPatch('post156274-0', 'er156274-0');">&#8211; Pasted Max <span id="maxversion156274-0"></span> Patch, click to <span id="er156274-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A804.3oc2X1zbaBCDF9L9WgFNS8fDemooyzi4Vt1oSlN7ghiRAgGPtwIYx%2B8h%0AjHNNo1xx.ViSu.1BYsu6iVs6hedlkcV8ZbqM3BvOAVVOOyxRLDe.q9uaYWkt%0ANuLsULMaJ9g5r6scjOhgWyDCeaScU6iUY0ku9n5UrRLi83Rrb4ssA2z%2Bnkor%0A76HzE%2BpAmyjOMzatqCvKHjeKDwuBim6t4mPJDloyzeAk7pItslxnoUBCX%2B8F%0AR5FiSWUQnclWnYX%2Bf40k0MRyA4FvcdbhKLIj%2BI29OA2xl7kuk7jX4gcS4s0V%0A5axEmO3Kylwu3LNF1xZX0%2BF7sQQPnfc99JIXzQRPzmDB9TIfxtC.2OAczihw%0AtBJ5ojhgCjhZQEzzQElBfPnLk7.54JYfHfBo9fYv.OXZ5vjwlr5Un3EqQ1J3%0AmDnTw8SvOpW0.t5ZPZQQCtsEPZuXbLJTjn.hBTAIXx4Fjp5b9zE3%2BgR%2Bgfen%0AsiQ43AhEThHyhfJQPkPYRxuflPnH%2B41GJ6ouqbydy0c5cJ2WeuVc2T9opBSk%0AaD1CP%2BB6Lr8snPY%2BIG1wP6zw1ylvD4Xpan3qiogBThHHMPYnp2%2B28SfFc%2BDx%0A.G08S3eNAwIr8iKuTA.OX%2BGtxnPI.8PyC1O.iNk8iMkEQfCr1QXeuXQhaxqg%0A6lEwmarXOAG40qnLbix3Cm9yYN5Gt.E2hT1Y1w1yQvwfH%2BoCQKRY3QkAOLr%2B%0AriplMbO2BXxVwX0z853YozEZTwNPmVQNldQfS46k0Bx.sJKtHbSGsZNA5JtE%0AorHCDcJ6z1aBecj02Cpd75UYkj7qVN7BvR1DKB.hSThFuSIZ1tfpv51kD5G%2B%0Aq2D5mO964U%2BKbH839r6f27gBbKiPSYjtiKuMmtza.zl4bGon.S2tSzJRwx5t%0A7o8R.byN26zUQ7yPGTRbBu0jN0ZBoijfFUR72o6rCSZs0kXVNkngl3%2BeSlTS%0Ad5vIjY0jVw3c01APypInFYmLLlPGJbxroB9Pz64PRbcNzEYTHEoa3s4jjNYA%0APlkRef.6VSFtnhN6b9FUR95rwY17RHsJyEZVMoUKJiPRce4kY%2BEb91dN%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post156274-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode156274-0">----------begin_max5_patcher----------
804.3oc2X1zbaBCDF9L9WgFNS8fDemooyzi4Vt1oSlN7ghiRAgGPtwIYx+8h
jHNNo1xx.ViSu.1BYsu6iVs6hedlkcV8ZbqM3BvOAVVOOyxRLDe.q9uaYWkt
NuLsULMaJ9g5r6scjOhgWyDCeaScU6iUY0ku9n5UrRLi83Rrb4ssA2z+nkor
76HzE+pAmyjOMzatqCvKHjeKDwuBim6t4mPJDloyzeAk7pItslxnoUBCX+8F
R5FiSWUQnclWnYX+f40k0MRyA4FvcdbhKLIj+I29OA2xl7kuk7jX4gcS4s0V
5axEmO3Kylwu3LNF1xZX0+F7sQQPnfc99JIXzQRPzmDB9TIfxtC.2OAczihw
tBJ5ojhgCjhZQEzzQElBfPnLk7.54JYfHfBo9fYv.OXZ5vjwlr5Un3EqQ1J3
mDnTw8SvOpW0.t5ZPZQQCtsEPZuXbLJTjn.hBTAIXx4Fjp5b9zE3+gR+gfen
siQ43AhEThHyhfJQPkPYRxuflPnH+41GJ6ouqbydy0c5cJ2WeuVc2T9opBSk
aD1CP+B6Lr8snPY+IG1wP6zw1ylvD4Xpan3qiogBThHHMPYnp2+28SfFc+Dx
.G08S3eNAwIr8iKuTA.OX+GtxnPI.8PyC1O.iNk8iMkEQfCr1QXeuXQhaxqg
6lEwmarXOAG40qnLbix3Cm9yYN5Gt.E2hT1Y1w1yQvwfH+oCQKRY3QkAOLr+
riplMbO2BXxVwX0z853YozEZTwNPmVQNldQfS46k0Bx.sJKtHbSGsZNA5JtE
orHCDcJ6z1aBecj02Cpd75UYkj7qVN7BvR1DKB.hSThFuSIZ1tfpv51kD5G+
q2D5mO964U+KbH839r6f27gBbKiPSYjtiKuMmtza.zl4bGon.S2tSzJRwx5t
7o8R.byN26zUQ7yPGTRbBu0jN0ZBoijfFUR72o6rCSZs0kXVNkngl3+eSlTS
d5vIjY0jVw3c01APypInFYmLLlPGJbxroB9Pz64PRbcNzEYTHEoa3s4jjNYA
PlkRef.6VSFtnhN6b9FUR95rwY17RHsJyEZVMoUKJiPRce4kY+Eb91dN
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>I hope this helps,</p>
<p>Georg</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156275</guid>
					<title><![CDATA[Re: Max MSP  via internet]]></title>
					<link>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156275</link>
					<pubDate>Mon, 27 Apr 2009 09:46:05 +0000</pubDate>
					<dc:creator>georghajdu@mac.com</dc:creator>

					<description>
						<![CDATA[
						<p>OK, just reread the post. It seems you don&#8217;t have a problem determining your friend&#8217;s IP address. You need to use his public IP address, otherwise the communication won&#8217;t work. Opening ports on the router isn&#8217;t everything. You also need to make sure that the incoming messages are forwarded to the right computer within the local network (this is called network address translation [NAT] or port forwarding). This is more tricky than you&#8217;d think. Sometimes routers just won&#8217;t work and need a firmware upgrade. Sometimes I had to put the computer into the DMZ. In any case, the router should be restarted even if the manual says otherwise. I can pride myself for eventually overcoming problems with all router, although this can be a lengthy and frustrating process.</p>
<p>Georg</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156276</guid>
					<title><![CDATA[Re: Max MSP  via internet]]></title>
					<link>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156276</link>
					<pubDate>Mon, 27 Apr 2009 15:01:24 +0000</pubDate>
					<dc:creator>Freak_Out</dc:creator>

					<description>
						<![CDATA[
						<p>Yep, fact is, as u observed, i&#8217;m using both mine and my friend&#8217;s public ip addresses(btw, thanks for the previous reply). Just to clarify, my friend isn&#8217;t part of a local network, but in another place altogether(so we don&#8217;t have the same router etc.). I have confirmation that the ports we&#8217;re using are open and the addresses correct. can&#8217;t understand what could be wrong. i tried doing a small test again, using the netsend/netreceive combination (netsend on my computer, netreceive on his) but to no avail. Hope to fix the thing as soon as possible. Thanks again anyway.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156277</guid>
					<title><![CDATA[Re: Max MSP  via internet]]></title>
					<link>http://cycling74.com/forums/topic/max-msp-via-internet/#post-156277</link>
					<pubDate>Mon, 27 Apr 2009 15:17:23 +0000</pubDate>
					<dc:creator>georghajdu@mac.com</dc:creator>

					<description>
						<![CDATA[
						<p>Why don&#8217;t you download my networked multimedia performance environment Quintet.net and see whether you can get it to work. There is also a Wiki that explains how to get started with all of this.</p>
<p>Good luck!!</p>
<p><a href="http://www.quintet-net.org/dl-frames.html">http://www.quintet-net.org/dl-frames.html</a><br />
<a href="http://www.georghajdu.de/quintet.net/wiki/doku.php">http://www.georghajdu.de/quintet.net/wiki/doku.php</a></p>
<p>Georg</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

