#include "random.h"#include "tcp.h"#include "telnet.h"Include dependency graph for telnet.cc:

Go to the source code of this file.
Compounds | |
| class | TelnetAppClass |
Functions | |
| double | tcplib_telnet_interarrival () |
Variables | |
| TelnetAppClass | class_app_telnet |
|
|
Definition at line 2011 of file tcplib-telnet.cc. References abort(), tcplib_telnet, and Random::uniform(). Referenced by TelnetApp::next().
02012 {
02013 int pos = int(Random::uniform() * 10000.0);
02014 if ( pos < 0 || pos >= 10000 ) {
02015 printf("oops, bug in tcplib_telnet_interarrival, pos = %d\n",
02016 pos);
02017 abort();
02018 }
02019 return tcplib_telnet[pos];
02020 }
|
Here is the call graph for this function:

|
|
|
1.3.3