how to generate udp packets in linux

Ads
 

how to generate udp packets in linux

Hi,

For testing one of my application I want to send udp data. how to generate udp packets in linux?

Thanks

View Answers

May 1, 2019 at 4:47 AM

Hi,

You can send it easily. so here is command to generate udp packets in linux:

echo "My Data" > /dev/udp/127.0.0.1/3000

Thanks


May 1, 2019 at 4:48 AM

Hi,

Thanks it works.

I was searching for "how to generate udp packets in linux" and landed on your website.

This works.

Thanks

Ads









Related Tutorials/Questions & Answers:
UDP - User Datagram Protocol
In this section, you will know how to send any request or messages for UDP... a request to UDP server in Java Here, you will know how to receive and send... UDP - User Datagram Protocol   
how to generate auto code ?
how to generate auto code ?  i wanna genrate auto code for id in core java. pls tell me code of auto genrate
Advertisements
how to generate bank account number?
how to generate bank account number?  how to generate account number?or format or rules for bank account number
How to generate XML from XSD?
How to generate XML from XSD?  Hi Experts, I have a xsd with me. I want to generate XML files based on the XSD with fields filled out from the database tables. Please Help me out
how to generate code - Java Beginners
how to generate code   hi friends, this is poornima i want to generate code about online shopping by using servlets,jsp,html,jdbc and eclipse (IDE) could you please tell me about what are steps included. Thanks in advance
How to Unrar in Linux?
How to Unrar in Linux?  Hi, How to Unrar Files in Linux? Thanks   Hi, First install unrar tool on your linux box. Use the following... Freshen files id[c,d,p,q] Disable messages ierr Send all
How to generate a list of random numbers?
How to generate a list of random numbers?  Hi, How to generate a list of random numbers? I want code in scala programming language. Thanks   HI, You can use the code: Seq.fill(10)(Random.nextInt) This is example
how to generate pdf file in struts
how to generate pdf file in struts  I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am
how to generate pdf file in struts
how to generate pdf file in struts  I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am
how to generate timetable - JSP-Servlet
how to generate timetable  can i have a jsp/servlet code for generating timetable for examinations for university like courses btech,cse ece etc... By giving starting date and ending date it will automatically generate
How to generate build.xml file
How to generate build.xml file       This example shows how to generate the build.xml file. You may say that build.xml file is the backbone of ANT (Another Neat Tool
how to run jdbc program in linux-ubuntu?
how to run jdbc program in linux-ubuntu?   how to run jdbc program in linux-ubuntu
How to Generate Reports in Java - Java Beginners
How to Generate Reports in Java  How to Display and Generate Reports in Java? Give Me Full Sample Code  Hi Friend, What do you want to display on reports.Please elaborate it. Thanks
How do I generate random number?
How do I generate random number?  In my Java program there is a requirement of generating random numbers between two given numbers. How do I write..., The java.util.Random class can be used to generate the random numbers. Check the tutorial
how to generate the pdf report from jsp
how to generate the pdf report from jsp  <%@page import="com.itextpdf.text.,com.itextpdf.text.pdf.,java.io.*;"%> </head> <... want to generate the pdf file from jsp page.I add the itext.jar to the libraries
UDP (User Datagram Protocol)
UDP (User Datagram Protocol)       The User Datagram Protocol (UDP) is a transport protocol...) that is used in client/ server programs like videoconference systems expect UDP
How to generate xml file using xpath
How to generate xml file using xpath  Hi, I have a requirement in whixh I have x path of all the nodes with its corresponding values and I need to make a xml using that,. It would be great is you can help me out with how
How to deploy hibernate in linux server - Hibernate
How to deploy hibernate in linux server  can anyone tell me how can i deploy my project hibernate project in linux server which is currently running on eclipse (on my local desktop)? thanks in advance
How to deploy hibernate in linux server - Hibernate
How to deploy hibernate in linux server  can anyone tell me how can i deploy my project hibernate project in linux server which is currently running on eclipse (on my local desktop)? thanks in advance
How to change default MySQL port in linux?
How to change default MySQL port in linux?  I have a sever and due to some reasons I want to run the MySQL server on the different port and not on the detault port 3306. How to change the MySQL default port on my Linux box
how to generate captcha in jsp page ? - JSP-Servlet
how to generate captcha in jsp page ?  hi friends, i would like to implement Captcha in login screen. i'm unsing struts. could you please give some sample codes to implement this. Thank you Ganesh  Hi, This link
UDP Client in Java
UDP Client in Java       In this section, you will know how to send any request or messages for UDP server by the UDP client. For this process you must require
how to generate random questions - Java Beginners
how to generate random questions  i am designing a test engine, i want my questions to be generated randomly. how can i do this?   Hi friend, Plz specify the technology with full details like Java,JSP,Servlet,ASP
How to generate the pdf file using jsp - JSP-Servlet
How to generate the pdf file using jsp  Hi how to generate the pdf file in jsp  Hi Friend, Try the following code: Thanks
how to run jdbc program in linux-ubuntu?
how to run jdbc program in linux-ubuntu?  how to run jdbc program in linux-ubuntu?   hi firstly download the jdk on your system using terminal or go to softwear management then download openjdk-6 or commandline
how to generate automatic bill based on selected values using jsp/javascript?
how to generate automatic bill based on selected values using jsp/javascript?  how to generate automatic bill based on selected values using jsp/javascript
Libraries to send or receive packets of data
Libraries to send or receive packets of data   Can i know which is the best library that can be used to transmit or receive data packets from device to device. i have tried jpcap but that cannot be used to receive or transmit
how to generate the pdf file with scroolbar from jsp age - JSP-Servlet
how to generate the pdf file with scroolbar from jsp age  How to generate the pdf file with scroolbar from jsp.i am not able to see the all the columns in pdf file now .it is very urgent for me plz help
How to generate hash code of Zip file.
How to generate hash code of Zip file. In this tutorial, we will see how to generate hash code of zip file entries. The ZipFile   class is used to read entries of zip files. The entries() methods of ZipFile class 
How to generate reports dynamically using ireports tool in a web application
How to generate reports dynamically using ireports tool in a web application  Hi all, As part of my web application , i need to generate reports... to generate it dynamically, I mean i have to pass from_ date and to_date from a jsp
How to generate reports dynamically using ireports tool in a web application
How to generate reports dynamically using ireports tool in a web application  Hi all, As part of my web application , i need to generate reports... to generate it dynamically, I mean i have to pass from_ date and to_date from a jsp

Ads