LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-10-2003, 09:38 AM   #1
himalayas
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Rep: Reputation: 0
Question How can I send a icmp message to a broadcast address


Hi,
I am a rookie with the raw socket programming work. Now, I am told to make a program which sends an icmp message to a broadcast address. Which steps does my program need to send an icmp message through a raw socket? Could you give me some sample codes and tell me why it is? Thanks!!!

My email: fanhaipeng@163.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
How to send icmp packets on a particular interface? dravya Programming 3 07-29-2004 04:15 PM
How do I broadcast a message? miknight Linux - General 3 04-26-2003 01:24 AM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM
invalid icmp error sent to a broadcast? phek Linux - Networking 2 06-11-2002 02:36 PM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration