<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for network-demos (2011-03-03)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-03 Joel Sherrill <joel.sherrill@oarcorp.com>

        * mongoose_ext.c, mongoose_index.html: Clean up.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/http/ChangeLog.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>http/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/http/mongoose_ext.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>http/mongoose_ext.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/http/mongoose_index.html.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>http/mongoose_index.html</td></tr>
</table>
<pre>
<font color='#006600'>diff -u network-demos/http/ChangeLog:1.33 network-demos/http/ChangeLog:1.34
--- network-demos/http/ChangeLog:1.33   Thu Jun 17 21:00:02 2010
+++ network-demos/http/ChangeLog        Thu Mar  3 10:54:26 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-03-03    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * mongoose_ext.c, mongoose_index.html: Clean up.
+
</font> 2010-06-17        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * init.c: Remove include of rtems_webserver.h

<font color='#006600'>diff -u network-demos/http/mongoose_ext.c:1.1 network-demos/http/mongoose_ext.c:1.2
--- network-demos/http/mongoose_ext.c:1.1       Mon Nov 23 08:31:53 2009
+++ network-demos/http/mongoose_ext.c   Thu Mar  3 10:54:26 2011
</font><font color='#997700'>@@ -1,4 +1,4 @@
</font><font color='#880000'>-/*  SHTTPD Extensions
</font><font color='#000088'>+/*  Mongoose HTTPD Extensions
</font>  *
  *  $Id$
  */

<font color='#006600'>diff -u network-demos/http/mongoose_index.html:1.1 network-demos/http/mongoose_index.html:1.2
--- network-demos/http/mongoose_index.html:1.1  Mon Nov 23 08:31:53 2009
+++ network-demos/http/mongoose_index.html      Thu Mar  3 10:54:26 2011
</font><font color='#997700'>@@ -5,7 +5,7 @@
</font> <H1>RTEMS Mongoose Test Page</H1>
 </center>
 <A HREF="http://www.rtems.org">
<font color='#880000'>-  <IMG align=center BORDER=0 SRC="rtems_logo.jpg" ALT="RTEMS"> </A>
</font><font color='#000088'>+  <IMG align=center BORDER=0 SRC="/rtems_logo.jpg" ALT="RTEMS"> </A>
</font> 
 <P><big>Congratulations, you have successfully loaded your first page
 from the Mongoose webserver running on RTEMS.</big></P>
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-03 Joel Sherrill <joel.sherrill@oarcorp.com>

        * test.c: Add TCP and UDP Sink Data Host.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/netdemo/ChangeLog.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>netdemo/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/netdemo/test.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>netdemo/test.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u network-demos/netdemo/ChangeLog:1.11 network-demos/netdemo/ChangeLog:1.12
--- network-demos/netdemo/ChangeLog:1.11        Wed May 13 13:54:51 2009
+++ network-demos/netdemo/ChangeLog     Thu Mar  3 10:55:12 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-03-03    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * test.c: Add TCP and UDP Sink Data Host.
+
</font> 2009-05-13        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * Makefile: Allow overrides from invoking environment.

<font color='#006600'>diff -u network-demos/netdemo/test.c:1.7 network-demos/netdemo/test.c:1.8
--- network-demos/netdemo/test.c:1.7    Thu Jun 21 13:26:18 2007
+++ network-demos/netdemo/test.c        Thu Mar  3 10:55:12 2011
</font><font color='#997700'>@@ -29,7 +29,8 @@
</font> #define NSERVER           2
 #define BASE_PORT      24742
 
<font color='#880000'>-#define DATA_SINK_HOST     ((128 << 24) | (233 << 16) | (14 << 8) | 60)
</font><font color='#000088'>+#define UDP_DATA_SINK_HOST    ((10 << 24) | (0 << 16) | (2 << 8) | 255)
+#define TCP_DATA_SINK_HOST     ((10 << 24) | (0 << 16) | (2 << 8) | 2)
</font> 
 void showbroad(int s)
 {
<font color='#997700'>@@ -88,12 +89,13 @@
</font>   if (setsockopt (s, SOL_SOCKET, SO_BROADCAST, &opt, sizeof opt) < 0)
                rtems_panic ("Can't set socket broadcast: %s", strerror (errno));
 showbroad (s);
<font color='#000088'>+   farAddr.sin_addr.s_addr = htonl (UDP_DATA_SINK_HOST);
</font>   for (i = 0 ; i < 5 ; i++) {
                if (sendto (s, cbuf, sizeof cbuf, 0, (struct sockaddr *)&farAddr, sizeof farAddr) < 0)
                        rtems_panic ("Can't broadcast: %s", strerror (errno));
        }
 #endif
<font color='#880000'>-   farAddr.sin_addr.s_addr = htonl (DATA_SINK_HOST);
</font><font color='#000088'>+      farAddr.sin_addr.s_addr = htonl (UDP_DATA_SINK_HOST);
</font> #if 1
        for (i = 0 ; i < 500 ; i++) {
                if (sendto (s, cbuf, sizeof cbuf, 0, (struct sockaddr *)&farAddr, sizeof farAddr) < 0)
<font color='#997700'>@@ -137,7 +139,7 @@
</font>           rtems_panic ("Can't bind socket: %s", strerror (errno));
        farAddr.sin_family = AF_INET;
        farAddr.sin_port = htons (9);   /* The `discard' port */
<font color='#880000'>-   farAddr.sin_addr.s_addr = htonl (DATA_SINK_HOST);
</font><font color='#000088'>+      farAddr.sin_addr.s_addr = htonl (TCP_DATA_SINK_HOST);
</font>   printf ("Connect socket.\n");
        if (connect (s, (struct sockaddr *)&farAddr, sizeof farAddr) < 0) {
                printf ("Can't connect socket: %s\n", strerror (errno));
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-03 Joel Sherrill <joel.sherrill@oarcorp.com>

        * networkconfig-qemu.h: Add missing endif.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/ChangeLog.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&diff_format=h">M</a></td><td width='1%'>1.36</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig-qemu.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>networkconfig-qemu.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u network-demos/ChangeLog:1.35 network-demos/ChangeLog:1.36
--- network-demos/ChangeLog:1.35        Wed Dec  8 04:46:45 2010
+++ network-demos/ChangeLog     Thu Mar  3 10:55:27 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-03-03    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * networkconfig-qemu.h: Add missing endif.
+
</font> 2010-12-08     Sebastian Huber <Sebastian.Huber@embedded-brains.de>
 
        * networkconfig.h, networkconfig-qemu.h, networkconfig-icecube.h,

<font color='#006600'>diff -u network-demos/networkconfig-qemu.h:1.7 network-demos/networkconfig-qemu.h:1.8
--- network-demos/networkconfig-qemu.h:1.7      Wed Dec  8 04:46:46 2010
+++ network-demos/networkconfig-qemu.h  Thu Mar  3 10:55:27 2011
</font><font color='#997700'>@@ -12,7 +12,7 @@
</font>  *      eric.norum@usask.ca
  *      (306) 966-5394
  *
<font color='#880000'>- *  networkconfig.h,v 1.8 2001/08/31 18:11:43 joel Exp
</font><font color='#000088'>+ *  $Id$
</font>  */
 
 #ifndef _RTEMS_NETWORKCONFIG_H_
<font color='#997700'>@@ -224,6 +224,7 @@
</font> #endif
 
 #endif /* ifdef MULTI_NETDRIVER */
<font color='#000088'>+#endif
</font> 
 #ifdef NIC_NAME
 
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>