The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Hub Lessons Learned


  • Subject: Hub Lessons Learned
  • From: mcs101main@xxxxxxx
  • Date: Mon, 25 Oct 2004 14:40:03 +0000


--NextPart_Webmail_9m3u9jl4l_11137_1098715203_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

In working with a hub implementation on various PCs there are a few lessons
that I have learned and will share for others that have hub developement
interest.

1.  It is possible that a PC with LAN card(s) will only show 127.0.0.1 as
the only available network.  In my case it is a laptop when disconnected
from both the wired and wireless networks.  This means that a hub should
route traffic on this interface accordingly.  I have found that a
255.255.255.255 broadcast IP does not function on 127.0.0.1 and that the
target must explicitly be 127.0.0.1.  Note that message viewers also should
be cognizant of a 127.0.0.1-only network as well.

2. It appears that a VPN connection is treated as a virtual interface that
is mapped into the same physical interface as the primary LAN.  The fallout
of this is that the interface will report 2 message reception events for
each message received.  It does not matter if the VPN connection is alive
or not.  Its existance is what creates the problem.  There are also
confirmed bugs in some Microsoft Winsock implementations in which two
events are generated on a message reception.  I handled the VPN situation
by not forwarding any duplicate reception within a 100 millisecond window.

I suspect that other computers will exhibit unanticipated behaviors and
each needs to be dealt with on a case-by-case basis to understand what a
hub must do to accomdate.
--NextPart_Webmail_9m3u9jl4l_11137_1098715203_0
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head><style type='text/css'>
p {
margin: 0px;
}
</style></head>
<body>


<!-- WEBMAIL STATIONERY noneset -->
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #1010ff 2px solid">
<P>In working with a hub implementation on various PCs there are a
few lessons that I have learned and will share for others that have hub
developement interest.</P>
<P>&nbsp;</P>
<P>1.&nbsp; It is possible that a PC with LAN card(s) will only
show 127.0.0.1 as the only available network.&nbsp; In my case it is a
laptop when disconnected from both the wired and wireless
networks.&nbsp; This means that a hub should route traffic on this
interface accordingly.&nbsp; I have found that a 255.255.255.255
broadcast IP does not function on 127.0.0.1 and that the
target&nbsp;must explicitly&nbsp;be 127.0.0.1.&nbsp; Note that
message viewers also should be cognizant of a 127.0.0.1-only network as
well.</P>
<P>&nbsp;</P>
<P>2. It appears that a VPN connection is treated as a virtual
interface that is mapped into the same physical interface as the primary
LAN.&nbsp; The fallout of this&nbsp;is that the interface will
report 2 message reception events for each message received.&nbsp; It
does not matter if the VPN connection is alive or not.&nbsp; Its
existance is what creates the problem.&nbsp; There are also confirmed
bugs in some Microsoft Winsock implementations in which two events are
generated on a message reception.&nbsp; I handled the
VPN&nbsp;situation by&nbsp;not forwarding&nbsp;any duplicate
reception within a 100 millisecond window.</P>
<P>&nbsp;</P>
<P>I suspect that other computers will exhibit unanticipated
behaviors and each needs to be dealt with on a case-by-case basis to
understand what a hub must do to accomdate.</P></BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->



<br>

<!-- **begin egp html banner** -->

<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#FFFFCC>
<td align=center><font size="-1"
color=#003399><b>Yahoo! Groups
Sponsor</b></font></td>
</tr>
<tr bgcolor=#FFFFFF>
<td align=center width=470><table border=0 cellpadding=0
cellspacing=0> <tr> <td align=center><font face=arial
size=-2>ADVERTISEMENT</font><br><a href="http://us.ard.yahoo.com/SIG=129fdmfbq/M=294855.5468653.6549235.3001176/D=groups/S=1705007709:HM/EXP=1098801644/A=2376776/R=0/SIG=11ldm1jvc/*http://promotions.yahoo.com/ydomains2004/index.html";
target="_blank"><img src="http://us.a1.yimg.com/us.yimg.com/a/ya/yahoo_domain/lrec_scuba_082004.jpg";
alt="click here" width="300" height="250"
border="0"></a></td></tr></table>
</td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=groups/S=:HM/A=2376776/rand=863288121";></td></tr>
</table>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<br>
<tt><hr width="500">
<b>Yahoo! Groups Links</b><br>
<ul>
<li>To visit your group on the web, go to:<br><a
href="http://groups.yahoo.com/group/xAP_developer/";>http://groups.yahoo.com/group/xAP_developer/</a><br>&nbsp;
<li>To unsubscribe from this group, send an email to:<br><a
href="mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe";>xAP_developer-unsubscribe@xxxxxxx</a><br>&nbsp;
<li>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.
</ul>
</tt>
</br>

<!-- **end egp html banner** -->


</body>
</html>

--NextPart_Webmail_9m3u9jl4l_11137_1098715203_0--




xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.