Hello,
I know this is way off topic, but i found this in the Java Documentation
(socketOpt.html) that i downloaded. Takea look and correct me if i am wrong.
------------------------------------------------------------------------
Fell by the wayside...
Some possible BSD options that are not supported in java:
SO_KEEPALIVE:
With this option, the OS repeatedly pings the connection's peer to make
sure it's still there. The conventional wisdom on
this is that this functionality is best handled at the application level.
The Host Requirements RFC specifies a ping interval
of 2 hours, which is not practically useful.
MSG_OOB:
This is really an option one passes to a read() or recv() on a socket to
read data marked out-of-band or "urgent" if it
present, before in-band data. If we include this we should also include
an option SO_OOBINLINE (below), but this
doesn't seem to be needed. The real complication against this is that
we'd also have to provide a symmetrical way to
write OOB data, and again this hasn't been requested.
SO_OOBINLINE:
This option will inline OOB data, making it appear inline like "normal"
data. It would work in conjunction with
MSG_OOB.
RAW/ICMP SOCKETS:
The main argument in favor of this one seemed to be so people could write
"ping" in java. Security nightmare. Must be
root on UNIX machines.
------------------------------------------------------------------------
Now, Does this mean i cannot write a pinging utility in Pure Java..? What do
they mean by "Security Nightmare. Must be root
on UNIX machines." Does it have to do anything with "Ping of death." problem?
Please clarify anybody..!
Thanx,
Pankaj
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html