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]

Re: Socket problems





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

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.