[doc] Bug Fix: Fixing Tpes on API Doc
@@ -131,21 +131,21 @@ impl LibOS {
}
}
- /// Initiates a connection with a remote TCP pper.
+ /// Initiates a connection with a remote TCP socket.
pub fn connect(&mut self, sockqd: QDesc, remote: SocketAddrV4) -> Result<QToken, Fail> {
match self {
LibOS::NetworkLibOS(libos) => libos.connect(sockqd, remote),
}
}
- /// Closes a socket.
+ /// Closes an I/O queue.
pub fn close(&mut self, qd: QDesc) -> Result<(), Fail> {
match self {
LibOS::NetworkLibOS(libos) => libos.close(qd),
}
}
- /// Pushes a scatter-gather array to a TCP socket.
+ /// Pushes a scatter-gather array to an I/O queue.
pub fn push(&mut self, qd: QDesc, sga: &demi_sgarray_t) -> Result<QToken, Fail> {
match self {
LibOS::NetworkLibOS(libos) => libos.push(qd, sga),
@@ -159,7 +159,7 @@ impl LibOS {
}
}
- /// Pops data from a socket.
+ /// Pops data from a an I/O queue.
pub fn pop(&mut self, qd: QDesc) -> Result<QToken, Fail> {
match self {
LibOS::NetworkLibOS(libos) => libos.pop(qd),
