Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I'm seeing strange behavior with MulticastSockets on a Windows 2000 machine. I'll describe the behavior giving as little detail as possible. I have two java programs, a game and a player. The game broadcasts DatagramPackets containing "ball" information and "status" information on broadcast addresses, 230.0.0.1 and 230.0.0.2, respectively. The player starts two threads; each monitors one of the broadcast addresses: class Player{ Now for the strange behavior: When I run the player, each thread receives BOTH kinds of messages. Has anybody seen this behavior? Replies:
|
Sponsored Links
|