Click here to Skip to main content
15,891,184 members
Everything / UDP

UDP

UDP

Great Reads

by Orekaria
Lightweight .Net library for UDP LAN broadcasting.
by honey the codewitch
Explore an Arduino based IoT web server and UDP multicaster for monitoring a remote water pump
by Zehaie M. Hailu
Python lends itself to the development of multi-threaded GUI and network applications.
by Huang Geng Geng
If you are looking for a tool

Latest Articles

by Mirzakhmet Syzdykov
Network programming in C++
by hemanthk119
This article describes modification of Arduino NINA firmware to wirelessly transmit I2S microphone data.
by Mark Beharrell
A queue based UDP protocol
by honey the codewitch
Explore an Arduino based IoT web server and UDP multicaster for monitoring a remote water pump

All Articles

Sort by Updated

UDP 

20 Dec 2010 by #realJSOP
UDP is not the protocol you want to use if you want to ensure that you get ALL of the data. You actually want to use TCP/IP.
6 Feb 2011 by #realJSOP
You picked a programming project for your thesis, and you don't even LIKE programming? Beyond that, writing a thesis involves YOUR OWN research, not ours. research it, LEARN how to do it, and then write your thesis.
22 Jun 2011 by #realJSOP
You can use WCF to stream with the UDP protocol, and last I checked, WCF was compatible both WPF and Silverlight.
19 Feb 2013 by @BangIndia
hi,i need to make communication between two computers. one is in internet one machine is in lan. internet machine can't access the lan machine directory. but lan machine can able to access that internet machine, Is any possibility is there to share the udp pkts between these two...
30 Dec 2012 by Aaron 007
I've written the below c# Multicast send/receive. It works fine, but after hours and hours of researching and attempting multiple methods, I have been unable to figure out how to receive all of my UDP payload.UdpClient udpBroadcast = new System.Net.Sockets.UdpClient(2362); IPEndPoint...
14 Apr 2013 by Aayman Khalid
Currently I am working on a single server,single client udp chat application. Initially I used blocking sockets which is the default condition. Now I want to convert the socket into non-blocking so that communication between client and server could be done without the obstacle of turns... I've...
16 Apr 2013 by Aayman Khalid
am trying to make an asynchronous udp chat application currently havung only one client and server.the problem is that when I run my server it displays a lot of redundant data and afterward whwn some text is typed displays the error"Error sending the file! \n"... Could someone please look at the...
19 Apr 2013 by Aayman Khalid
hey I wanted to create an asynchronous/non-blocking udp client server application where the client and server were supposed to chat away with each other without waiting for each other's turns.I came to know that this could be done by select()...here is my Server(Mentioning only the...
5 Jan 2012 by Abhishek Nandgaonkar
heyy guys.. m implementing PEER TO PEER FILE TRANSFER..What protocol should I use? TCP or UDP? And why?
5 Jan 2012 by Abhishek Nandgaonkar
Yes, agreed. But what i want is precisely how easy or difficult is it to implement either of the options.Also, if you have an experience of making an application of similar kind, i can get a better answer.
5 Feb 2015 by Afzaal Ahmad Zeeshan
If you're having the API to login the user, and to log the user out, then upon a successfull login or logout function call, you can log the data of the user. I am unable to determine what sort of method you're using to store the data (that GUID, and the Time object you're using inside the...
2 Aug 2015 by Afzaal Ahmad Zeeshan
You are confusing yourself with TCP (or UDP which is a connectionless protocol, similar to TCP) and network topology, ring in your case maybe. I would, in this case, suggest that you do not write such a thing. Instead, I would recommend that you create a server for TCP clients and let it...
20 Nov 2018 by Afzaal Ahmad Zeeshan
You need to attach the async callback1, that receives the data for your socket, on its behalf and then alerts you that data has been received. You cannot attach a receive function, as it might be blocking. You can argue, that, // Your receive call is useless as well, and so would be this, ...
21 Jun 2011 by Alan Kurlansky
I get error 10042( WSAENOPROTOOPT) as return value from setsockopt below.I want to turnoff the Nagle algorithm in order to send the request out as fastas possible.Any idea on how to get this option to work?BTW this code does build, the formatting makes it appear...
13 Mar 2013 by Albert Holguin
Addressed your questions by number:1. There's a ton of examples of this on the internet, just google "UDP C++ example" and you'll get a ton of hits. Basically you just set up your socket and just start listening (UDP doesn't really have a handshake process), every packet is a set of bytes (a...
23 Jul 2015 by Albert Holguin
Quote:I observed that Wireshark capture is more robust (?) than C-application with CSocket (ReceiveFrom()) to receive UDP data.Not more robust. If implemented correctly, your application should get every single packet wireshark gets.Quote:What factors make the difference? Is Wireshark...
7 Nov 2016 by Albert Holguin
Well, if you're not sure, TCP/IP should usually be your default go-to. That's because it has a lot of neat built-in overhead that's very useful, such as retransmissions and error checking, that UDP doesn't have. UDP should be used when you need high-speed transmissions where you don't mind...
15 Mar 2010 by ALEXZUPO
I'm looking for a simple example to put in a TextBox a packet sniffer from a UDP socket.Thanks
2 May 2013 by AlphaDeltaTheta
Well, your code is absolutely correct there is no issues with it.You are encountering a bind exception. Such exceptions occur if the underlying operating system is unable to create an socket at the specified port. It might be for the following reasons:1. The port 53 is already in use. In...
2 May 2013 by AlphaDeltaTheta
Well, your has no issues with it. Except for the thing that the constructor used to create a datagram socket for receiving must not include the ip address. It should be like thisDatagramPacket p = new DatagramPacket(buffer, buffer.length);You are encountering a bind exception. Such...
26 Jul 2012 by Amir Hesami
A library which can get any class you pass to it, convert it to bytes, and send it to the other end.
18 Mar 2011 by Amit kumar pathak
I am reading data in bytes on one UDP client port which is broadcast by other server. I have created a single thread with sleep time it works when data incoming is slow but when data incoming incresaes then its memory use go high and terminate with unknown error.I want help on this like...
19 May 2012 by amkom
Hi!I have a C++ class that sends UDP packets using Winsock2 (kind of a wrapper).I noticed that sending packets smaller than 1KB takes 0ms delay (measured by GetTickCount()). When the size is over 1KB the timing becomes almost 3seconds!!!Does anyone have any idea what can cause this...
15 Oct 2010 by Andre Trollip
A simple set of classes to make creating Peer to Peer messaging easy using UDP. Features built-in message concatenation and delivery receipts for reliable transmission.
20 Mar 2012 by Andre Trollip
Hi Guys,I'm at my wits end.I have a self hosting (console app) WCF service using Net.Tcp binding with all default settings.Inside one of the service methods, I use a UdpClient to send a udp packet to another unrelated IP/Port.When the method returns, I get that boilerplate...
20 Feb 2016 by Andy_N
Is is a small app with UDP & dataGridView.While first start Firewall ask confirmation for UDP and Form of app is white (w/o dataGridView). After that happens nothing. I have to close & start again and then works all properly.Thanks for help.AndyWhat I have tried:UDP Listener...
14 Apr 2010 by Antal Dominik
Hello everybody!I have a game server (WoW).I want my players to download my custom patches to the game.I've done a program that checks for update/downloading things.I want my program to send a packet to my game server if player have all my patches. I dont need any response from the...
10 Apr 2017 by Anup KumarArya
First program which runs on my computer import java.io.*; import java.net.*; public class NewUDP22 /*main class*/ { public static void main(String arg[])throws Exception { /*calling both threads ReceiveDataClass and SendDataClass*/ ReceiveDataClass t=new...
17 Apr 2017 by Anup KumarArya
all coding is correct. only i did change ip add and the important thing whenever you run a udp program just close firewall or any type of antivirus that is available in your system. Now it is working
21 Apr 2021 by Arda Güler
Hi, I recenlty started working on a streaming app (c#). I made the general design but I'm still unceartin of the protocol I will use. I read that UDP is the most preffered choice for video streaming (because of speed I guess). and I've watched...
27 Mar 2013 by ayesha hassan
I am developing a windows application for Client Server communication using UDP, but since UDP is connectionless, whenever a Client goes down, the Server does not know that Client is off and keeps sending the data. Similar is the case when a Server is down. How can I cater this condition that...
28 Mar 2013 by ayesha hassan
A simple implementation is as follows:Have a background thread keep sending those messages and waiting for replies.Upon receiving replies, you can populate some sort of data structure or a file with a list of alive devices.Your other main thread (or threads) can have the following...
28 Mar 2013 by ayesha hassan
I am working on a UDP Server Client Application. I want my Server to be able to handle 40 Clients at a time. I have thought of creating 40 threads at Server side, each thread handling one Client. Clients are distinguished on the basis of IP Addresses and there is one thread for each unique IP...
28 Mar 2013 by ayesha hassan
I want to send same information after specific time intervals from UDP server to all clients at a time without using Broadcast. For this purpose, I am thinking of adding information of each Client which tries to communicate with the Server in some sort of text file, and then, when I want to...
29 Mar 2013 by ayesha hassan
I want two functionalities to be implemented on my udp server application. 1. Creating thread that continuously receives data coming from any client. 2. Creating a thread that continuously sends data on server socket after specific time period and waits for reply from client. (I implemented this...
29 Mar 2013 by ayesha hassan
I wanted two functionalities to be implemented on my udp server application. 1. Creating thread that continuously receives data coming from any client. 2. Creating a thread that continuously sends data on server socket after specific time period and waits for reply from client (handshake...
10 Apr 2013 by ayesha hassan
I am working on udp server/client application. For finding out if any of the client is down, server sends a handshake message to the client. Then, the server waits for the response of client to send some data to assure that the client is active. For this the server blocks in call to recv_from()...
11 Apr 2013 by ayesha hassan
I have developed a udp server/client application in which server has one socket at which it continuously receives data from 40 clients. Now I want to know that what happens if all of the 40 Clients send data at a time? According to my understanding, data must be queued in receive buffer and next...
12 Apr 2013 by ayesha hassan
I am working on udp server/client application. I want my single server to handle 40 clients at a time. For this, I want to create 40 dedicated threads, each dedicated for one single client. Since there are 40 threads one for each client, I want to create 40 dedicated sockets as well. But the...
15 Apr 2013 by ayesha hassan
I am working on udp server/cient application. I want my Server to be able to handle 40 clients at a time. Right now I am using the approach of creating one receiving thread which continuously receives data and one sending thread for sending data if required. Since the socket queue is large...
19 Apr 2013 by ayesha hassan
I have developed a single server multiple client udp application using multithreading. Now I want to implement the server using asynchronous sockets so that it may be able to handle multiple clients at a time. Will this approach work fine? Is it correct to use asynchronous socket if you want to...
19 Apr 2013 by ayesha hassan
I have a single asynchronous socket at my server side. whenever there is something to be read or written on the socket, a window's message is generated. Right now there is only one single asynchronous socket on the server that handles requests of more than one client I guess. But I am not sure...
30 Apr 2013 by ayesha hassan
I have developed a udp application in which a single server is able to handle 'x' number of clients. Inside my server, there is a primary thread keeps on receiving requests/data continuously from the clients and keeps saving the information of each client in a list.As soon as a request comes...
3 May 2013 by ayesha hassan
I had been working on non-blocking udp socket. The code that I had developed generates a Window Message whenever there is any data to be read over the socket. Below is the code snippet:void createSocket(HWND hwnd){ ///Socket Binding/// WSADATA wsa; ///Initialise winsock/// ...
6 May 2013 by ayesha hassan
I am trying to make my Socket "Event Based". Following is what i tried:VOID createServerSocket(){ WSADATA wsa; //Initialise winsock// if (WSAStartup(MAKEWORD(2,2),&wsa) != 0) { //"WinSock Initialization FAILED", } //Create a socket// ...
7 May 2013 by ayesha hassan
I have created 3 threads each thread has one socket each. Inside each thread, socket is made "Event Driven" and whenever data becomes available for reading, an event is generated.The code works fine but it takes CPU Usage upto 100% which is surely undesirable. I think I have made some...
9 May 2013 by ayesha hassan
I want to read one line of the text file, save it to a buffer, send the buffer over a udp socket and then go and read the second line and so on..So far, since I knew the data type of the text to be read from the text file, I had been using fscanf() to read each line from the text file. But...
12 May 2013 by ayesha hassan
I had been working on a Server Client aplication where Server is going to service(sendto + receivefrom)'x' number of Clients at a time. For this purpose, I have created 'x' number of threads on Server side so that each thread is dadicated to one single client. Inside each thread there is a...
14 May 2013 by ayesha hassan
I have a single server multiple client udp application. There is a single thread (thread#1) with a single socket (socket#1) to receive data from client#1 continuously. The task of this receiving thread is to continuously receive data at its socket.I have a button which says "Send data to...
30 May 2013 by ayesha hassan
I have developed a single Server/multiple Clients udp application, where Server can handle x number of clients at a time. The Server has x number of threads each thread dedicated to one Client.The code works perfectly fine. Now I want to check my application for all possible scenarios i.e....
19 Mar 2015 by BacchusBeale
Android can be developed with Java which has UDP Socket classes: Class DatagramSocket and DatagramPacket.I have also seen it can be done with C# which has a UdpClient Class
4 Apr 2018 by Balaraj Nayak
How to fragments large data into small packets. since i am beginner i am unable achieve it, SOMEBODY HELP TO FRAGMENT LARGE DATA INTO SMALL PACKETS . say i have 22kb of jpeg file i want it to devide into small packets with 960 bytes of each. for jpeg there will be STARTING two bits and ENDING...
22 Mar 2017 by bkelly13
I am trying to create a simple UDP app to capture data being sent by another app. When the code hits the call to recvfrom() method it returns -1 and WSAGetLastError returns 10022. I am unable to detect what is wrong with the arguments. Here are the declarations, the setup, and the call. ...
22 Mar 2017 by bkelly13
To RM,Thanks for the reply.The declaration of m_receive_socket in my code isSOCKET m_receive_socket;When SOCKET is chased down the definition istypedef UINT_PTR SOCKETI do not know how the SOCKET item could contain the IP address.
17 Jul 2015 by blackbolek
Hi,I have a simple implementation of UDP based client - server communication using CAsyncSocket class..h file:// Receiving Socket Class definition#if _MSC_VER > 1000#pragma once#endif#include // UdpReceiveSocket command targetclass UdpReceiveSocket : public...
4 Aug 2014 by bling
This seems to be "by design". Here's a work-around.http://vbry21.wordpress.com/2012/07/03/fixed-in-a-tick-solving-mulicast-issues-in-hyper-v-vms/[^]
16 May 2015 by bluejesting
Hi there,Basically I have to design a chat room using UDP multicasting. (Assignment)Clients connect to the Server, sends messages to it, Server relays the message to all clients at once using multicasting. I've looked for examples and tutorials but haven't found anything that's been...
31 Oct 2012 by BrianHamilton
Hi,I've written a basic UDP client/server app. The client works fine as does the server but as soon as I shut the server down and start it up again, it freezes. C~ gives me the following error message:"An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in...
2 Nov 2022 by CarlyJeps
Hello how can i fixes this error [Error] SFML/Network.hpp: No such file or directory The code: #include #include #include #include #include static bool port_is_open(const...
25 Sep 2015 by ChauhanAjay
Kindly go through the following articleChat Application in PHP[^]Hope the above link helps.
13 Dec 2021 by CHill60
Quote: but I am kind off stuck with having to do this in VB6, since the DLL's that I used to interface to our embedded controls were done in VB6 as well. No - you're not :-) See Solution 2 to this question How to use vb6 DLL function in C# .NET...
13 May 2010 by Chris Kolkman
What you need is a "state" class you can pass along. This state class can hold a reference to the EndPoint passed to the UdpClient. I'm not sure how well the example holds up with BeginReceive (especially with calling it again to continue listening) as I've only really used BeginReceiveFrom -...
10 Jan 2012 by CodyDaemon
I few things which should help on the speed front...Open the file and keep it open, and just write data to it as it comes in, and then close the file when the program exits. Open and closing files for each packet is just overhead which can easily removed.Why are you writing each 'int' by...
15 Apr 2013 by CPallini
The other, quite obvious, approach would be creating a thread per client (well, two threads per client).The adavantage would be a somewhat simpler code.
19 May 2016 by CPallini
I compiled the same sample code (I suppose[^]), on my Lubuntu 15.10 Box.Got the following output: (build process)gcc -g -c -o udp-send.o udp-send.cudp-send.c: In function ‘main’:udp-send.c:54:6: warning: implicit declaration of function ‘inet_aton’...
29 Sep 2012 by Cyberwarfare
Hey code-project, I am wanting to ask this question, for quite sometime anyway the question: How can i create an Raw socket which sends an lot of UDP packets in c++ under Windows? If so please show me an code of how to do it or an tutorial. Thanks In advance, ...
18 Apr 2019 by danger moose
Im trying to run a WCF service self hosted on visual studio that is able to send and recieve udp messages. The send works fine but I cant verify it using the recieve. What I have tried: Ive tried to recieve both from the same service and from an outside source on a different port but on the...
20 Dec 2010 by Dave Kreskowiak
You cannot just command the NIC to use 205 of the available bandwidth. If you're only using 9%, you're code isn't generating enough data fast enough to utilize the network that much.
5 Mar 2012 by Dave Kreskowiak
Your thread tasks are running the same checks thousands of times a second, with no code in there at all that gives up control and waits.Look at what your dequeue method is doing. It's going to continuously allocate TransactionSeqNum, grab a lock, execute another loop if there are...
30 Nov 2014 by Dave Kreskowiak
Can it cause your hardware to fail? Nope.This sounds like an ISP problem or at most bad hardware and it's just a coincidence that your app happens to be running.
14 Apr 2015 by Dave Kreskowiak
If you're doing the sending you don't do the port forwarding on your machine. You do it on the receiving end.If you're trying to send data in both directions between two machines, BOTH ends have to setup port forwarding to their respective internal IP addresses and ports.You're sending...
2 Jul 2015 by Dave Kreskowiak
Why are you even using UDP? From what you describe, you cannot lose data.UDP doesn't guarantee the data gets to the destination and doesn't even guarantee the packets show up in the correct order!What you describe requires TCP, not UDP.UDP is used to broadcast connectionless data...
13 Sep 2017 by Dave Kreskowiak
Sure. UDP is "connectionless". It doesn't care if anyone is listening. It just sends the data to whatever destination you tell it to, including broadcast addresses. There are no "bounce back" messages that tell the sender the destination doesn't exist or isn't listening on the port you're...
22 Aug 2018 by Dave Kreskowiak
Simple, YOU DON'T! UDP does not guarantee delivery of packets, let alone the receiver(s) getting the packets in the correct order. UDP is typically used as a "broadcast" protocol, sending data to one or more clients where the data doesn't have to be complete for the receivers to understand it,...
19 Jan 2022 by Dave Kreskowiak
You're going to have to go into more detail as to how you expect this app to work. ASP.NET/MVC code (C#, VB.NET) runs entirely on the server, not the client. So, if your code is listening on a UDP port, it's the server that's doing the...
15 Apr 2010 by DaveAuld
Use the UDPClient class, here is the example straight from MSDN;// This constructor arbitrarily assigns the local port number.UdpClient udpClient = new UdpClient(11000); try{ udpClient.Connect("www.contoso.com", 11000); // Sends a message to the host to which you...
10 May 2010 by DaveAuld
I haven't tried this, but;As the BeginReceive is non-blocking, and you have declared udpClient as instance variable, you should be able to access the underlying socket and remote endpoint from;udpClient.Client.RemoteEndpoint
4 Sep 2014 by DaveAuld
One option would be to make the clients go into a listen - sleep - wake - try port - listen cycle. Each client would wake up, try to bind to the udp port, if it fails (due to the port already being in use) go back to sleep again for a random duration. If it is able to bind to the port then...
6 Aug 2010 by DaveInsurgent
Adding an answer here since I found this, it did not help, but eventually I worked it out.Use the BeginReceiveMessageFrom method, and before you Bind(), for good measure, set the following option:s.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.PacketInformation, true);This...
9 Nov 2010 by David Knechtges
Not exactly certain of your questions, but I will answer given my use of the UDP protocol in my apps.I have a server and many clients on a LAN that use UDP for comms. The server broadcasts data to the clients every so often, and the clients also broadcast data to the server every so often....
26 Sep 2022 by Death Smoke
I'm trying to make a connection between two computers both of them are using tp-link adapter , but i'm not receving anything from client . #include #include using namespace std; int main() { ...
5 Dec 2014 by denegabze
Hi everyone,The subject is about Wake On Lan and Wake On WanI want to turn on a shutted down or sleeping pc from another pc at same local network and global network. I am searching about the subject about 3 days. Now i can turn on a sleeping pc in local network(WOL)(If someone asks i can...
18 Apr 2014 by Deviant Sapphire
Hey Codeproject,I have two applications that are both working on the same file. The file is a serialized class file, which at run time is used as an object(class). I want to let the two applications use the same file through a cloud-sharing service like Dropbox.I had a few questions...
25 Feb 2017 by DiamondKid
I am developing a two-player Quiz bee game LAN-Based. The players takes turn one at a time. A player will click a button to pick a question. On the first two turns, sending and receiving of data are working but on the third turn the other player didn't receive the incoming data.Anyone can...
25 Aug 2014 by Dirquez Marquez
I am creating a UDP client program and this is my piece of code where i receive a message. I cant figure out whats wrong because the method hangs until timer is up and it never receives anything. please review this code for any wrongs.public void receive() throws IOException,...
1 Jul 2019 by dj4400
Hi, I am building a little UDP server client app. in c++ In all the examples on the net that i saw, the server is 1st of all receives from the client and then sends and the client 1st of all sends to the server and then receives from it. I want the server to 1st of all send and the client to...
19 May 2010 by eco2709
Greetings all.I have almost no experience with Network programming on C#.I have an Asynchronous UDP socket on a server that sends data to clients.If one of the client crashes i get the next Socket Error:Message = "An existing connection was forcibly closed by the remote...
31 Oct 2012 by Ed Nutting
Hi there,Are you disconnecting/stopping listening from the port properly? It doesn't look like you are. If you aren't, the port will look like it is already being listened after you close your program and thus when you try to run your program a second time. Since two things can't listen on...
29 Oct 2010 by eg gigo
[Byte]() : Array of bytelikedim x() as string 'Array of stringor dim x as string() '
29 Dec 2010 by Electron Shepherd
Take a look at the TCP_NODELAY socket option, and reseach the Nagle algorithm. It might help, but it may be that the speed is due to factors outside of your program's control (QoS implemented in by the network hardware, for example)
12 Jun 2013 by Emence
Hi!I'm trying to write a stress-tester for lan.Looking at the Network-Load in the Taskmanager it seems i can only transfer about 500MBit/sec on a GBit Networkcard (i checked all the Adapter settings)Sending from Both Sides gives my a network load of almost 100%.But sending the received...
20 Nov 2018 by Engr.Shah
Hi there, still not mature in c# programming, i have written an application in which it receives data from arduino using UDP protocol, when i click a button data is sent and received without hurdle, but i want my application to receive data automatically when arduino sends it. so that i wont...
6 Feb 2011 by Espen Harlinn
You could do worse than starting out reading this book:http://www.cs.wustl.edu/~schmidt/POSA/POSA2/[^]It will not give you the answer, but it will enable you to understand how these things are usually done. Since you are writing a thesis, I would guess that you will have to understand the...
2 May 2013 by evanharijanto
Hi all, I'd like to ask a question.I would like to receive a data from an UDP port and display the data as string.here is my trial code, but it doesn't works.it is stated in the error message that it can't bind and also stated socket.bind(native method)I am still don't understand...
2 May 2013 by evanharijanto
solved!! thanks everyone!!here is the code I have made after some confusing period.import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;import java.net.SocketException;public class udp_test{ public static void...
5 May 2013 by evanharijanto
hello everyone, I'd like to ask why is this error occurs.I am trying to get a string data from a device. I have make this code and it runs well when I try to obtain data from a local server, but it stated this error when it connects to the device.java.net.PortUnreachableException: ICMP...
10 Jan 2011 by evildarkvirus
Hi,I have a problem, I am very bad at programming and have a UDP client to write.The client software should take the IP address and port number of the server it is talking to (poss on command line).Then: * It reads a line of text from standard input, * sends this text in a...
24 Apr 2023 by Fatin Fatima Abdullah
I am working on a program for TCP/UDP port scanning. TCP is working fine and well but it seems like I have no idea on how to achieve the UDP port scanning using the AutoIt.Since the UDP port is connectionless I am using UDPOpen function to bind my $PortIP and $PortStartNumberB....
21 Mar 2012 by Faultyboy
Ok I got it... :) For anyone who is interested this is the code to send and receive a UDP broadcast from the same app.. you have to specify the source port and the destination port for sending and receiving..Public EndPoint As New IPEndPoint(IPAddress.Parse("255.255.255.255"), 1001) ''Send...