udp port binding with multicast

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: killkolor (anonymous_at_discussions.microsoft.com)
Date: 06/05/04


Date: Sat, 5 Jun 2004 06:01:06 -0700

hello,

i am trying to make a simple udp application and encountered a problem with the port binding. i isolated the critical part in an console application with some try and catche's and came to this conclusions:

if i only bind the udp client to a port this works fine
if i don't bind the udp client to an explicit port (overload constructor without arguments) the JoinMulticastGroup works fine
--> if i bind the udp client to a specific port and try the JoinMulticastGroup on this instance, i get an exception (code: 10049) that says: the adress is not valid in this context

what i did is to turn off my firewall and disconnect everything from the internet, so it's really local. unfortunately still the same exception.

is there something i have to set in my system to allow a multicast on a specific port?

is there alternatively a way to find out what port i get, if i don't use an argument in the constructor, so i can send it as an endpoint to other multicast clients?

thx
killkolor



Relevant Pages

  • Re: Block UDP Ports?
    ... I'm using Checkpoint Firewall-1. ... reasonable that Firewall-1 would leave UDP wide open. ... > UDP ICMP port unreachable scanning: This scanning method varies from the ...
    (comp.security.firewalls)
  • UDP DoS attack in Win2k via IKE
    ... This memo should clarify the issue discovered with the UDP DOS ... Sending of UDP traffic to port 500 UDP will cause windows to ... attacked host is an IPSec gateway). ...
    (Bugtraq)
  • Re: LDAP UDP Port Problem
    ... The correct fix is to identify that the network gear is tossing out the UDP ... Then I did some portqry's on the LDAP port ... > Sending LDAP query to TCP port 389... ...
    (microsoft.public.windows.server.networking)
  • Re: Block UDP Ports?
    ... UDP scanning is questionable to many - if the port is open, ... closed ports aren't even required to send an error packet. ...
    (comp.security.firewalls)
  • Re: LDAP UDP Port Problem
    ... The correct fix is to identify that the network gear is tossing out the UDP ... Then I did some portqry's on the LDAP port ... > Sending LDAP query to TCP port 389... ...
    (microsoft.public.windows.server.setup)