Sponge
CS144's user-space TCP library
socket_dt.cc
Go to the documentation of this file.
1 #include "socket.hh"
2 
3 #include "address.hh"
4 #include "util.hh"
5 
6 #include <array>
7 #include <cstdlib>
8 #include <random>
9 #include <stdexcept>
10 #include <sys/socket.h>
11 #include <vector>
12 
13 int main() {
14  try {
15  {
16 #include "socket_example_1.cc"
17  } {
18 #include "socket_example_2.cc"
19  } {
20 #include "socket_example_3.cc"
21  }
22  } catch (...) {
23  return EXIT_FAILURE;
24  }
25  return EXIT_SUCCESS;
26 }
socket.hh
util.hh
socket_example_3.cc
main
int main()
Definition: socket_dt.cc:13
socket_example_2.cc
address.hh
socket_example_1.cc