Two Objects for send and receiving UDP-Packets. Hope this helps. Updated code you will find (german) on our university gamedevelopment page:
http://www.gametheory.ch/index.jsp?positionId=101139&displayOption=
la1n
--------------------------
UDPReceive.cs
--------------------------
simple udp implementation (send/read via mono/c#)
http://www.gametheory.ch/index.jsp?positionId=101139&displayOption=
la1n
--------------------------
UDPReceive.cs
--------------------------
Code (csharp):
- /*
- -----------------------
- UDP-Receive (send to)
- -----------------------
- // [url]http://msdn.microsoft.com/de-de/library/bb979228.aspx#ID0E3BAC[/url]
- // > receive...