Skip to content

rust-fcp/rust-picotcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-picotcp

An ongoing effort to create bindings for the complete PicoTCP library Basic wrappers around some of the core functionality of PicoTCP have been create. You can now reply to IPv4 and IPv6 pings, be a dhcp server or an echo server.

Installation

You don't have to install rust-picotcp, but rather add it to your Cargo.toml as a dependency:

[dependencies.picotcp]
git = "https://github.com/maximevince/rust-picotcp.git"

Usage

Here's a sample program using rust-picotcp:

extern crate picotcp;

fn main() {
    picotcp::stack_init();
}

If you put that into a file called src/picotest.rs, and add a corresponding Cargo.toml file, you can:

$ cargo build
$ ./target/picotest

License

GPLv2 licensed.

About

Rust bindings for the picoTCP library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%