[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Hub Operations
------=_NextPart_000_01AA_01C4B216.6BCE66D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I've been using the xapFramework hub and viewer and have the problems of
me=
ssage duplication. To better understand what is happening I wrote a hub
ap=
plication based upon what I understood from the spec and Patrick Lidstone
f=
eedback. With my hub I no longer get the duplicate messages. It is my
und=
erstanding that the hub should use 127.0.0.1 to retransmit messages to all
=
xap applicaitons on the same PC. I see this as the From interface in the
x=
apFramework viewer when I run my hub, but when I run the xapFramework hub
I=
see 192.x.x.x. as the message From. It looks as if the xapFramework hub i=
s using the primary interface for retransmission. I do not know which is
r=
ight or wrong, but I'm just trying to get my system working without
duplica=
te messages. Is there concensus on how the hub should operate?
What is also interesting is that the viewer on machine X reports that is
se=
es the viewer on machine Y via the 127.0.0.1:3639 interface. I was not
aw=
are message sent on the loopback interface were visible on other
computers.=
What does the xapFramework viewer use to determine the From column in the=
display?
In my hub implementation messages received on the primary interface (port
=
3639) are sent on 127.0.0.1 to the subscribed port of each applicaton on
th=
e hub's PC using the port that the application indicated to which is was
bo=
und in the heartbeat message. All applications send their messages on the
=
primary interface to port 3639. I think these messages will be seen by
the=
local hub and any other computers on the primary LAN.
Related question ....
In a PC desktop application is generally the case that more than one xap
ap=
plication will be running. If this is the case then why will the desktop
a=
pplication grap port 3639 and prevent normal xap opeations until manually
s=
topped? It seems that a PC application should pick some other port then
ev=
entually become active when the hub function comes online.
------=_NextPart_000_01AA_01C4B216.6BCE66D0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've been using the xapFramework
hub and viewer and
have the problems of message duplication. To better understand
what is
happening I wrote a hub application based upon what I understood from the
spec
and Patrick Lidstone feedback. With my hub I no longer get the
duplicate
messages. It is my understanding that the hub should use
127.0.0.1 to
retransmit messages to all xap applicaitons on the same PC. I see
this as
the From interface in the xapFramework viewer when I run my hub, but when I
run
the xapFramework hub I see 192.x.x.x. as the message From. It
looks as if
the xapFramework hub is using the primary interface for
retransmission. I
do not know which is right or wrong, but I'm just trying to get my system
working without duplicate messages. Is there concensus on how the
hub
should operate?</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What is also interesting is that
the viewer on
machine X reports that is sees the viewer on machine Y via
the
127.0.0.1:3639 interface. I was not aware message sent
on the
loopback interface were visible on other computers. What does the
xapFramework viewer use to determine the From column in the
display?</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my hub implementation
messages received on
the primary interface (port 3639) are sent on 127.0.0.1 to the subscribed
port
of each applicaton on the hub's PC using the port that the application
indicated
to which is was bound in the heartbeat message. All applications
send
their messages on the primary interface to port 3639. I think
these
messages will be seen by the local hub and any other
computers on the
primary LAN.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Related question
....</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In a PC desktop application is
generally the case
that more than one xap application will be running. If this is
the case
then why will the desktop application grap port 3639 and prevent normal xap
opeations until manually stopped? It seems
that a PC application
should pick some other port then eventually become active when the
hub
function comes online.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV><!-- **end egp html
banner** -->
<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=1291e8fhb/M=315388.5497957.6576270.3001176/D=groups/S=1705007709:HM/EXP=1097887600/A=2372354/R=0/SIG=12id813k2/*https://www.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F21004SS"
alt=""><img src="http://us.a1.yimg.com/us.yimg.com/a/ho/household/f2_free2_300x250_def_0904.gif"
alt="click here" width="300" height="250"
border="0"></a></td></t
r></table> </td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=315388.5497957.6576270.3001176/D=groups/S=:HM/A=2372354/rand=584819303"></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>
<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>
<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_000_01AA_01C4B216.6BCE66D0--
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|