Sponge
CS144's user-space TCP library
apps
bidirectional_stream_copy.hh
Go to the documentation of this file.
1
#ifndef SPONGE_APPS_BIDIRECTIONAL_STREAM_COPY_HH
2
#define SPONGE_APPS_BIDIRECTIONAL_STREAM_COPY_HH
3
4
#include "
socket.hh
"
5
7
void
bidirectional_stream_copy
(
Socket
&socket);
8
9
#endif // SPONGE_APPS_BIDIRECTIONAL_STREAM_COPY_HH
socket.hh
bidirectional_stream_copy
void bidirectional_stream_copy(Socket &socket)
Copy socket input/output to stdin/stdout until finished.
Definition:
bidirectional_stream_copy.cc:12
Socket
Base class for network sockets (TCP, UDP, etc.)
Definition:
socket.hh:14
Generated by
1.8.17