Re: UDP sockets
- From: Markus Stoeger <spamhole@xxxxxx>
- Date: Mon, 06 Mar 2006 20:52:24 +0100
PH wrote:
Hi guys;
I got to make an application that listens for incoming UDP connections in 2 different ports at the same time.
Also this application must only let pass thru connection attempts coming from certain IP addresses, and discard the rest.
Any code, suggestion or help will be much appreciated.
UDP is connectionless. You probably only want to accept packets from certain IP addresses. Lookup the MSDN docs for the Socket class. The methods Bind, Listen and ReceiveFrom are what you need.
hth,
Max
.
- References:
- UDP sockets
- From: PH
- UDP sockets
- Prev by Date: MSMQ!
- Next by Date: Re: How to monitor file is executed by user or program in window
- Previous by thread: UDP sockets
- Next by thread: Re: C# Threading, and suspending or killing a thread
- Index(es):
Relevant Pages
|