add tcp support and tcp_simplehttp app

This commit is contained in:
yufeng 2023-03-03 16:58:07 +08:00 committed by Yifan Wu
parent 9832bafb44
commit 5a63d8e1fe
19 changed files with 666 additions and 83 deletions

View file

@ -27,4 +27,4 @@ pub fn read(fd: usize, buf: &mut [u8]) -> isize {
}
pub fn write(fd: usize, buf: &[u8]) -> isize {
sys_write(fd, buf)
}
}