Parent Directory | Revision Log | Patch
revision 1.3 by hemppah, Mon May 5 13:27:30 2003 UTC | revision 1.4 by hemppah, Mon May 5 13:56:28 2003 UTC | |
---|---|---|
# | Line 76 public class HTTPServer extends Thread { | Line 76 public class HTTPServer extends Thread { |
76 | this.connf = connf; | this.connf = connf; |
77 | lsock = new ServerSocket(port, backlog, bindAddr); | lsock = new ServerSocket(port, backlog, bindAddr); |
78 | } | } |
79 | ||
/** Return the IP-address of remote host */ | ||
public String getRemoteIPAddress() { | ||
return csock.getInetAddress().toString().substring(1); | ||
} | ||
80 | ||
81 | public void run() { | public void run() { |
82 | try { | try { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |