0

Possible Duplicate:
Sending UDP Packet in C#

I have some data in hex format that I would like to send to a UDP server and then get a response back from the server that contains some data. How would I go about doing this in C#?

I might add that I do not have local access to the server, I would just like to see which response I get by sending this particular data to it.

Community
  • 1
  • 1
Lazze
  • 323
  • 2
  • 7
  • 17
  • Look at [http://stackoverflow.com/a/2637791/884410](http://stackoverflow.com/a/2637791/884410) – Raj Ranjhan Apr 28 '12 at 18:43
  • I have tried using the UdpClient.Send method to send data to the UDP server, and that worked I am guessing, but I would like to be able to get a response from the server too. – Lazze Apr 28 '12 at 18:52

1 Answers1

0

1- A Chat Application Using Asynchronous UDP sockets
enter image description here

2- Send UDP packet in C#

3- Testing TCP and UDP socket servers using C# and .NET

4- Receive and send data

5- UDP Send and Receive using threads in VB.NET

6- A UDP based Reliable Data Transfer Library

7- msdn microsoft

HB MAAM
  • 3,913
  • 4
  • 29
  • 39
  • I have tried your second link before, and while it would seem that it should do what I wanted, I am not getting any data back. Could that mean the server is not responding with anything? – Lazze Apr 28 '12 at 18:55
  • share with us what you did, write some code so we can see what's wrong – HB MAAM Apr 28 '12 at 19:01