UDP using CAsyncSocket



I have always used CAsyncSocket to make TCP connections. But for my current
project I need to receive from a UDP stream. I thought I would just use
CAsyncSocket and specify SOCK_DGRAM in the Create function. I asked my
client for the address and port I should be using. He told me the port
number and said "its UDP, I don't need an address". I said "Oh" and I left.
I never connected to UDP before so I don't know. Now I am in my office and I
am looking stuff up and I am confused...

For UDP, do I need an address to receive data as a client?



.



Relevant Pages

  • UDP using CAsyncSocket
    ... I have always used CAsyncSocket to make TCP connections. ... CAsyncSocket and specify SOCK_DGRAM in the Create function. ... client for the address and port I should be using. ... I never connected to UDP before so I don't know. ...
    (microsoft.public.vc.mfc)
  • Re: UDP using CAsyncSocket
    ... I thought I would just use CAsyncSocket and specify SOCK_DGRAM in the Create function. ... He told me the port number and said "its UDP, ...
    (microsoft.public.vc.mfc)
  • 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)