By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

Client and Server - Listen por packets in a specific port trhu UDP

P: n/a


_____

From: Marcelo [mailto:ma*****@telecircuit.com]
Posted At: Friday, September 30, 2005 1:40 PM
Posted To: microsoft.public.dotnet.languages.vb
Conversation:
Subject: Client and Server - Listen por packets in a specific port trhu
UDP
Hi guys;

I need to create a program that listen in a specific port for packets
sent from a client thru UDP?

How do I create that client and server program?

Any example?

Thanks

Marcelo


Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
well that is pretty easy

Imports System.Net.Sockets

Private UDP_Client As New UdpClient

and use the required methods

listen for incoming data ( ofcourse in a seperate thread )

DData = UDP_Client.Receive(RemoteIpEndPoint)

to send data

UDP_Client.Send(Me._Info, Me._Info.Length, EndPoint)

regards

i do have a working example on how to do this if you are interested , we
have to discuss how to get it to you

regrds

Michel posseth [MCP]


"Marcelo" <ma*****@telecircuit.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...


_____

From: Marcelo [mailto:ma*****@telecircuit.com]
Posted At: Friday, September 30, 2005 1:40 PM
Posted To: microsoft.public.dotnet.languages.vb
Conversation:
Subject: Client and Server - Listen por packets in a specific port trhu
UDP
Hi guys;

I need to create a program that listen in a specific port for packets
sent from a client thru UDP?

How do I create that client and server program?

Any example?

Thanks

Marcelo


Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.