ns-allinone-2.35/webcache/webtraf.cc
void WebTrafPool::pick_ep(TcpAgent** tcp, Agent** snk) {
	// Choose source
	*tcp = picktcp();

	// Choose destination
	if (fulltcp_) {
		*snk = picktcp();
	} else {
		*snk = picksink();
	}
}
// pick end points for a new TCP connection
pick end points for a new TCP connection
pick end points for a new TCP connection
void WebTrafPool::pick_ep(TcpAgent** tcp, Agent** snk) {
	*tcp = picktcp();
	if (fulltcp_) {
		*snk = picktcp();
	} else {
		*snk = picksink();
	}
}
void WebTrafPool :: pick_ep ( TcpAgent * * tcp , Agent * * snk ) { * tcp = picktcp ( ) ; if ( fulltcp_ ) { * snk = picktcp ( ) ; } else { * snk = picksink ( ) ; } }
pick end points for a new TCP connection
pick end points for a new TCP connection
// Choose source // Choose destination