Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UdpClient in C# <-- Client not receiving broadcast

Status
Not open for further replies.

Wengkius

Programmer
Jan 11, 2004
3
MY
Some introductions first. Am currently studying TCP/UDP connections for an upcoming project. Read through the examples in MSDN and tried to write some code using UdpClient for both server and client. The broadcaster by all means worked but the problem is that the datagrams are not reaching my client. FYI, I'm running both server and client on the same machine. I do have a connection to a LAN. Out of desperation, I tried running the example code provided by MSDN for UDP services using UdpClient but still, even the MSDN examples failed to work. I do believe that this problem ocurred due to improper configuration of the IP endpoint. Can someone point out to me how to configure the IP endpoint properly? My IP address in the LAN is currently 172.17.8.31 but I also want to know how to run this thing if I don't have a LAN connection. Is that possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top