[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Socket problems
Arrrggghhhh!!!! WTF is going on?!!!
(erm, as you can tell, it's been a bit of a hair-pulling evening)
The xPLHal service starts automatically.
If I start xPLHal Manager, with hub disabled, but then start the
xPLHal Monitor, the xPL port gets taken by xPLHal Manager (I assume
it must do this because there is no hub).
So - I start in this order:
xPLHal Service
xPLHal Manager
My app
xPLHal Monitor
This order mean my app gets to be hub (since the xPLHal built-in hub
is disabled). According to Ethereal, everything works properly -
xPLHal takes port 50000, my app port 50001, and xPLHal Monitor port
50002. Every message sent to port 3865 is then sent out to 50000,
50001, and 50002. So far so good.
If I use the built-in hub in xPLHal, the only packets listed are
being sent to port 3865. Nothing is going to 50000 etc. This seems
so weird - I've been using this as my hub for ages!
I wanted to try the newer standalone hub (downloaded from John's
site), but I can't get it to work - the installer seems to be messed
up :-(
Mal
--- In ukha_xpl@xxxxxxx, "Mal Lansell" <mlansell@f...>
wrote:
>
> Well if the hub is the problem, I don't understand why binding my
> receiving socket to INADDR_ANY allows things to work. If I'm
> listening on port 50001, I shouldn't pick up messages for port
3865.
>
> It is a bit odd that Ethereal isn't showing anything going to
other
> ports though. I ran my own hub (which is completely untested!),
and
> it showed packets going to client ports (50001, 50002 etc).
>
> Anyway, I'll give cports a try and see what it shows up.
>
> Mal
>
>
>
> --- In ukha_xpl@xxxxxxx, Tom Van den Panhuyzen
<tomvdp@g...>
> wrote:
> > You are absolutely sure the hub is not the problem ?
> > I mean:
> > - Ethereal does not see packets going to 5001;
> > - your app (bound to a local IP) does not get them.
> >
> > It looks like there just not there.
> >
> > A tool that helped me during debug sessions of xpllib is cports.
> > Available here: http://www.nirsoft.net/utils/cports.html
> >
> > Tom
xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe: ukha_xpl-subscribe@xxxxxxx
To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|