the mail sample code worked fine for me, but the echo server code keeps giving me this error<br><br>  File &quot;echo-server&quot;, line 10, in &lt;module&gt;<br>    (client_sock, client_address) = sock.accept()<br>  File &quot;/opt/lib/python2.5/socket.py&quot;<div id=":3l" class="ii gt">
, line 167, in accept<br>    sock, addr = self._sock.accept()<br>
socket.error: (22, &#39;Invalid argument&#39;)<br><br>anyone else having trouble with it?<br></div><br><br><div class="gmail_quote">On Sun, Sep 27, 2009 at 5:20 PM, Joe Amenta <span dir="ltr">&lt;<a href="mailto:amentajo@msu.edu">amentajo@msu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am having no problem with the example code.<br><br><span style="font-family: courier new,monospace;">[17:18][joe@joe-desktop] ~ $ python</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) </span><br style="font-family: courier new,monospace;">



<span style="font-family: courier new,monospace;">[GCC 4.3.3] on linux2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.</span><br style="font-family: courier new,monospace;">




<span style="font-family: courier new,monospace;">&gt;&gt;&gt; import socket</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;&gt;&gt; sock = socket.socket()</span><div class="im">
<br style="font-family: courier new,monospace;">



<span style="font-family: courier new,monospace;">&gt;&gt;&gt; sock.connect((&quot;<a href="http://teckla.idyll.org" target="_blank">teckla.idyll.org</a>&quot;, 25))</span><br style="font-family: courier new,monospace;">



</div><span style="font-family: courier new,monospace;">&gt;&gt;&gt; sock.recv(4096)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&#39;220 <a href="http://teckla.idyll.org" target="_blank">teckla.idyll.org</a> ESMTP Exim 4.63 Sun, 27 Sep 2009 14:18:31 -0700\r\n&#39;</span><br style="font-family: courier new,monospace;">




<span style="font-family: courier new,monospace;">&gt;&gt;&gt; </span><br><br>--Joe<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Sep 27, 2009 at 5:02 PM, Owen Pierce <span dir="ltr">&lt;<a href="mailto:opierce@gmail.com" target="_blank">opierce@gmail.com</a>&gt;</span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Can anyone else run the example code from lab4?  I&#39;m trying to run the code from the<b> Sending mail - example</b>, but I keep getting <br>




<br>Traceback (most recent call last):<br>  File &quot;send-email&quot;, line 11, in &lt;module&gt;<br>

    sock.connect((&#39;<a href="http://teckla.idyll.org" target="_blank">teckla.idyll.org</a>&#39;, 25))<br>  File &quot;&lt;string&gt;&quot;, line 1, in connect<br>socket.error: [Errno 113] No route to host<br>
<br></div></div>_______________________________________________<br>
cse491-fall-2009 mailing list<br>
<a href="mailto:cse491-fall-2009@lists.idyll.org" target="_blank">cse491-fall-2009@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/cse491-fall-2009" target="_blank">http://lists.idyll.org/listinfo/cse491-fall-2009</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
cse491-fall-2009 mailing list<br>
<a href="mailto:cse491-fall-2009@lists.idyll.org">cse491-fall-2009@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/cse491-fall-2009" target="_blank">http://lists.idyll.org/listinfo/cse491-fall-2009</a><br>
<br></blockquote></div><br>