JDBP> RB> I'm sending out a broadcast and then waiting for a response on the
JDBP> RB> same socket.
JDBP> RB>
JDBP> RB> I find it most odd that it works in Warp 4 but not in WSeB.
JDBP>I find it hard to believe that broadcast doesn't work, too. (-:
JDBP>You've checked the basics, haven't you ? You've checked
JDBP>that you've configured a broadcast address for that
JDBP>interface in TCP/IP configuration, for example, yes ?
Unfortunately the TCP/IP configuration notebook doesn't work. Hasn't
worked for ages. Any configuration has to be done manually with the
configuration files. When I start the notebook it gives me a java null
pointer error and quits. I have asked in usenet but nobody has a
solution (although a number of others have the same problem.)
JDBP>Try pausing the application after the call to bind() but
JDBP>before the call to sendto() and using `netstat -s' to look
JDBP>at the socket address.
Under WSEB I get
AF_INET Address Family:
SOCK TYPE FOREIGN LOCAL FOREIGN STATE
PORT PORT HOST
====== ===== ========== ========== ==========
========
11 STREAM 0 6804 0.0.0.0 LISTEN
12 STREAM 6804 49158 127.0.0.1 ESTABLISH
13 DGRAM 0 6805 0.0.0.0 UDP
14 STREAM 49158 6804 127.0.0.1 ESTABLISH
2074 DGRAM 0 0 0.0.0.0 UDP
Under Warp 4 I get:
SOCK TYPE FOREIGN LOCAL FOREIGN STATE
PORT PORT HOST
==== ========= ============= ============= =============
=============
634 STREAM 1280 6804 127.0.0.1 ESTABLISHED
633 DGRAM 0 6805 0.0.0.0 UDP
632 STREAM 6804 1280 127.0.0.1 ESTABLISHED
631 STREAM 0 6804 0.0.0.0 LISTEN
I don't know what this means, but under WSeB I get an extra UDP port.
FYI 6805 is the port number of the UDP port that is supposed to accept
broadcasts. 6804 is my console application which displays messages
from the running applications. This is with the two server applications
running, but no client connected to them.
Rob.
___
X SLMR 2.1a X Ratings: G:Guns/PG-Plenty of guns/PG-13:more than 12 guns
--- Maximus/2 3.01
* Origin: Frog Hollow Port Moody BC 604-469-0264/0284 (1:153/290)
|