natServerSocketChannelImpl.cc: Removed.
2003-02-14 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. * gnu/java/nio/ServerSocketChannelImpl.java (SocketAccept): Removed. (accept): Commented out use of SocketAccept. From-SVN: r62898
This commit is contained in:
committed by
Michael Koch
parent
6e8647d54a
commit
b97991522d
@@ -54,9 +54,6 @@ class ServerSocketChannelImpl extends ServerSocketChannel
|
||||
boolean connected = false;
|
||||
// InetSocketAddress sa;
|
||||
|
||||
private static native int SocketAccept (ServerSocketChannelImpl server,
|
||||
SocketChannelImpl s);
|
||||
|
||||
protected ServerSocketChannelImpl (SelectorProvider provider)
|
||||
throws IOException
|
||||
{
|
||||
@@ -103,7 +100,7 @@ class ServerSocketChannelImpl extends ServerSocketChannel
|
||||
{
|
||||
SocketChannelImpl result = new SocketChannelImpl (provider ());
|
||||
result.sa = new InetSocketAddress (0);
|
||||
int res = SocketAccept (this,result);
|
||||
//int res = SocketAccept (this,result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user