Skip to content

bmickael/tcp-raw-file-transfert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raw TCP file server

metadata

Header: 8 bytes

  • 4 bytes for MAGIC: 0xdeadbeaf
  • 4 bytes for TYPE: 0x00000000

File Header: 120 bytes

  • 4 bytes for file size
  • 116 bytes for file name, must be terminated by \0 like C Style

Content

  • All te file content

Commands

rustup update

rustup default nightly

cargo build

cargo run --bin server

x86 and IA32 use Little Endian

listening on TCP port 8021

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages