$search
Example code for a socket pair. More...
#include <iostream>#include <ecl/config/ecl.hpp>#include <ecl/errors/handlers.hpp>#include <cstdlib>#include "../../include/ecl/io/socketpair.hpp"
Go to the source code of this file.
Defines | |
| #define | DATA1 "In Xanadu, did Kublai Khan . . ." |
| #define | DATA2 "A stately pleasure dome decree . . ." |
Functions | |
| int | main (int argc, char **argv) |
| int | socket_error () |
Variables | |
| ecl::socket_descriptor | socket_pair [2] |
Example code for a socket pair.
Definition in file examples/socketpair.cpp.
| #define DATA1 "In Xanadu, did Kublai Khan . . ." |
Definition at line 23 of file examples/socketpair.cpp.
| #define DATA2 "A stately pleasure dome decree . . ." |
Definition at line 24 of file examples/socketpair.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 66 of file examples/socketpair.cpp.
| int socket_error | ( | ) |
Definition at line 55 of file examples/socketpair.cpp.
| ecl::socket_descriptor socket_pair[2] |
Definition at line 30 of file examples/socketpair.cpp.