|
|
#1 |
|
Junior Member
Join Date: Nov 05
Location: Bentonville, AR
Posts: 22
![]() |
some udp help
Hi,
I have a piece of software running on a linux box that is transmitting information every few minutes over UDP to a destination port of 3052. After looking at a packet sniffer, the data is making it to the computer that I am having problems with. I need to create a program that will listen on port 3052 and receive that data. I have tried for several hours to find source code to listen only, but i'm having little luck with that. I am using VB .net 2005. thanks, cory |
|
|
|
|
|
#2 |
|
.NUT
Join Date: May 05
Location: Sydney, Australia
Posts: 54,913
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: some udp help
The MSDN help topic for the UdpClient.BeginReceive method has a code example of basically what you want. It's in C# only, but here's a translation courtesy of Instant VB:
vb Code:
__________________
![]() 2007, 2008, 2009, 2010 Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs MSDN "How Do I?" Videos: VB | C# VBForums Database Development FAQ My CodeBank Submissions: VB | C# (ForumAccount has translated some of my VB submissions to C#) My Blog: Defining and Raising Custom Events | Manipulating GDI+ Drawings | Using Parameters in ADO.NET |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|