ns-allinone-2.35/webcache/webtraf.cc
int WebTrafPool::find_server(int sid) {
	int n = 0;
	while (server_[n].get_nid() != sid && n < nServer_) {
		n++;
	}
	
	return(n);
}
// Given sever's node id, find server
Given sever's node id, find server
Given sever ' s node id find server
int WebTrafPool::find_server(int sid) {
	int n = 0;
	while (server_[n].get_nid() != sid && n < nServer_) {
		n++;
	}
	return(n);
}
int WebTrafPool :: find_server ( int sid ) { int n = 0 ; while ( server_ [ n ] . get_nid ( ) != sid && n < nServer_ ) { n ++ ; } return ( n ) ; }
Given sever's node id, find server
Given sever ' s node id find server