At 2004-03-19 09:25:47 +0530, [EMAIL PROTECTED] wrote:
>
> > I just want to send a UDP packet on an IP on internet. I want to see
> > whether it denies it or accepts it. I have to do some tests. Telnet
> > won't help. Do u have any idea how to create a program for this?

Read the socket(2) and sendto(2) manual pages. Or buy the Stevens book
(UNIX network programming.) Oh, and by the way, did you ask Google?

> AFAIK, there is no way to figure out whether the UDP packet was thrown
> away (denied or rejected), I think the protocol doesn't support it. I
> may be wrong, please enlighten.

You should get ICMP messages for certain kinds of errors. Traceroute,
for example, depends on this.

-- ams

_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to