Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to ping a node with data? (C source code)

Status
Not open for further replies.

feiutm9898

Full Member level 4
Joined
May 31, 2004
Messages
224
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Location
Singapore
Activity points
2,027
Ping a node with data

Hello :)

I have search around google about the technique to ping a node with data. But I just get frustrated.

So, anyone can help me at here?

I need the C programming source code.

thanks ah....

regards,
Michael
 

wzdreamer

Full Member level 2
Joined
Jan 16, 2002
Messages
124
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,165
Ping a node with data

from your Linux console you can use:

# ping [ -p pattern ] destination

-p pattern
You may specify up to 16 ``pad'' bytes to fill out
the packet you send. This is useful for diagnosing
data-dependent problems in a network. For example,
-p ff will cause the sent packet to be filled with
all ones.


see man pages for more info

# man ping

for sample source code you can use the source code of ping :)))

:)))
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top