Sponge
CS144's user-space TCP library
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 
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