- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
protected SocketChannel getSockById(int id)
{
Iterator<SocketChannel> i = clientSock.iterator();
while(i.hasNext())
{
SocketChannel s = i.next();
if(s.hashCode() == id)
return s;
}
return null;
}