please help me get started on the following. a simple program that can generate packets destined to a IP_address : PORT. a program that can generate and send icmp packets to a given IP_address. any good websites or resources etc..... thanks [ January 11, 2002: Message edited by: mark stone ]
mark stone
Ranch Hand
Joined: Dec 18, 2001
Posts: 417
posted
0
REPOSTING..........................
Originally posted by mark stone: please help me get started on the following. a simple program that can generate packets destined to a IP_address : PORT. a program that can generate and send icmp packets to a given IP_address. any good websites or resources etc..... thanks [ January 11, 2002: Message edited by: mark stone ]
mark stone
Ranch Hand
Joined: Dec 18, 2001
Posts: 417
posted
0
reposting
Originally posted by mark stone: please help me get started on the following. a simple program that can generate packets destined to a IP_address : PORT. a program that can generate and send icmp packets to a given IP_address. any good websites or resources etc..... thanks [ January 11, 2002: Message edited by: mark stone ]
mark stone
Ranch Hand
Joined: Dec 18, 2001
Posts: 417
posted
0
reposting. no replies yet ? why ?
Originally posted by mark stone: please help me get started on the following. a simple program that can generate packets destined to a IP_address : PORT. a program that can generate and send icmp packets to a given IP_address. any good websites or resources etc..... thanks [ January 11, 2002: Message edited by: mark stone ]
Zakaria Haque
Ranch Hand
Joined: Jan 02, 2002
Posts: 60
posted
0
with pure java you can not go below tcp and udp. for icmp you need to use JNI. There should be some class libraries that already provides such functionality(I saw something similar, but fotgot where ), do a search from google. Hope it helps.
tobe bondhu nouka bherao<br />shonabo gaan aj shara raat
Laudney Ren
Ranch Hand
Joined: Jan 06, 2002
Posts: 111
posted
0
When connect to a remote IP address and port, use socket's connect(). Then call socket's getOutputStream and write to the outputstream. More details on APIs.
" Veni, vidi, vici "<br />" I came, I saw, I conquered "