English in here
使用raw socket,我使用(unsafe) rust ffi来完成这一功能,过程非常曲折(
目前已经完成,可以正常握手并接收信息,连接的目标是tokio的echo demo
本项目参考于这个实验,我使用rust手动实现并进行了简单的封装
你可以在Linux中直接使用cargo run
来运行这段程序
测试的连接目标为TcpListener,我将其封装为独立的服务器
测试环境:
- Ubuntu(WSL)
- Rust Nightly
An experiment on computer networks was conducted, which successfully completed the full three-way handshake and four-way handshake. It was implemented using unsafe Rust FFI and was also encapsulated in a simple manner
使用raw socket,我使用(unsafe) rust ffi来完成这一功能,过程非常曲折(
目前已经完成,可以正常握手并接收信息,连接的目标是tokio的echo demo
本项目参考于这个实验,我使用rust手动实现并进行了简单的封装
你可以在Linux中直接使用cargo run
来运行这段程序
测试的连接目标为TcpListener,我将其封装为独立的服务器
测试环境:
An experiment on computer networks was conducted, which successfully completed the full three-way handshake and four-way handshake. It was implemented using unsafe Rust FFI and was also encapsulated in a simple manner