473,324 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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



_____

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
1 2388
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: learning_C++ | last post by:
Hi, I found some example code about server and client applications. But I can not run server and client in different computers. Now, I only run them in the different windows in Linux. I hope to...
16
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my...
1
by: QQ | last post by:
hello I need to listen to two ports and process the received message. Which way to do is better? I have a short program like this but I am not sure whether it is good or not. Or I'd better open...
9
by: mBird | last post by:
I wrote a service that listens for broadcast messages from my firewall (UDP snmp trap messages) and parses and puts the data in an database. I'd also like to write an app that is a simple form...
1
by: Amjad | last post by:
Hi I made a simple TCP Listener server application that listens to a specific TCP port for incoming packets from a client. Everything seems to be fine. I still don't know how to determine the...
8
by: Ankit Aneja | last post by:
i am doing here some some socket-client work in C# windows service it is working fine for multiple clients now i want to limit these multiple clients to 25 for example i want that when service...
14
by: Ankit Aneja | last post by:
The code of classes given below is for server to which clients connect i want to get ip address of client which has connected pls help how can i get //listen class public class listen {
1
by: Josema | last post by:
Hi, Im newbie in Sockets, and im trying to make an application to listen from a port, and another to send bytes to this port... I'm using asyncronous sockets, and i have the most of the code...
3
by: Hukkky | last post by:
I'm testing simple server/client codes on linux. just server can wait for client's connect sign and accept, and client can't connect to server, this is all. There's no problems just for this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.