Soumettre la recherche
Mettre en ligne
Rustでパケットと戯れる
•
5 j'aime
•
1,413 vues
S
ShuyaMotouchi1
Suivre
人生いろいろありますが皆さん頑張りましょう
Lire moins
Lire la suite
Logiciels
Affichage du diaporama
Signaler
Partager
Affichage du diaporama
Signaler
Partager
1 sur 37
Recommandé
FunctionalJS - May 2014 - Streams
FunctionalJS - May 2014 - Streams
darach
nouka inventry manager
nouka inventry manager
Toshiaki Baba
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Toshiaki Baba
第一回MongoDBソースコードリーディング
第一回MongoDBソースコードリーディング
nobu_k
Gitosis on Mac OS X Server
Gitosis on Mac OS X Server
Yasuhiro Asaka
Comets notes
Comets notes
Ilija Dukovski
Node.js streaming csv downloads proxy
Node.js streaming csv downloads proxy
Ismael Celis
お題でGroovyプログラミング: Part A
お題でGroovyプログラミング: Part A
Kazuchika Sekiya
Recommandé
FunctionalJS - May 2014 - Streams
FunctionalJS - May 2014 - Streams
darach
nouka inventry manager
nouka inventry manager
Toshiaki Baba
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Toshiaki Baba
第一回MongoDBソースコードリーディング
第一回MongoDBソースコードリーディング
nobu_k
Gitosis on Mac OS X Server
Gitosis on Mac OS X Server
Yasuhiro Asaka
Comets notes
Comets notes
Ilija Dukovski
Node.js streaming csv downloads proxy
Node.js streaming csv downloads proxy
Ismael Celis
お題でGroovyプログラミング: Part A
お題でGroovyプログラミング: Part A
Kazuchika Sekiya
Class
Class
HSS-Software House
Gogo shell
Gogo shell
jwausle
Biicode OpenExpoDay
Biicode OpenExpoDay
fcofdezc
Gsummit apis-2012
Gsummit apis-2012
Gluster.org
Linux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell script
Kenny (netman)
Redis, Resque & Friends
Redis, Resque & Friends
Christopher Spring
Perl Memory Use 201209
Perl Memory Use 201209
Tim Bunce
Linux Command Line
Linux Command Line
Prima Yogi Loviniltra
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
Redis & ZeroMQ: How to scale your application
Redis & ZeroMQ: How to scale your application
rjsmelo
BOSH deploys distributed systems, and Diego runs any containers
BOSH deploys distributed systems, and Diego runs any containers
Benjamin Gandon
Application Logging in the 21st century - 2014.key
Application Logging in the 21st century - 2014.key
Tim Bunce
Ansible, Simplicity, and the Zen of Python
Ansible, Simplicity, and the Zen of Python
toddmowen
Fun with Ruby and Redis
Fun with Ruby and Redis
javier ramirez
Commit2015 kharchenko - python generators - ext
Commit2015 kharchenko - python generators - ext
Maxym Kharchenko
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
Juxi Leitner
Thinking in Sequences - Streams in Node.js & IO.js
Thinking in Sequences - Streams in Node.js & IO.js
Artur Skowroński
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Gagah Arifianto
Docker tips & tricks
Docker tips & tricks
Dharmit Shah
Redis as a message queue
Redis as a message queue
Brandon Lamb
One-Liners to Rule Them All
One-Liners to Rule Them All
egypt
Serialization in Go
Serialization in Go
Albert Strasheim
Contenu connexe
Tendances
Class
Class
HSS-Software House
Gogo shell
Gogo shell
jwausle
Biicode OpenExpoDay
Biicode OpenExpoDay
fcofdezc
Gsummit apis-2012
Gsummit apis-2012
Gluster.org
Linux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell script
Kenny (netman)
Redis, Resque & Friends
Redis, Resque & Friends
Christopher Spring
Perl Memory Use 201209
Perl Memory Use 201209
Tim Bunce
Linux Command Line
Linux Command Line
Prima Yogi Loviniltra
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
Redis & ZeroMQ: How to scale your application
Redis & ZeroMQ: How to scale your application
rjsmelo
BOSH deploys distributed systems, and Diego runs any containers
BOSH deploys distributed systems, and Diego runs any containers
Benjamin Gandon
Application Logging in the 21st century - 2014.key
Application Logging in the 21st century - 2014.key
Tim Bunce
Ansible, Simplicity, and the Zen of Python
Ansible, Simplicity, and the Zen of Python
toddmowen
Fun with Ruby and Redis
Fun with Ruby and Redis
javier ramirez
Commit2015 kharchenko - python generators - ext
Commit2015 kharchenko - python generators - ext
Maxym Kharchenko
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
Juxi Leitner
Thinking in Sequences - Streams in Node.js & IO.js
Thinking in Sequences - Streams in Node.js & IO.js
Artur Skowroński
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Gagah Arifianto
Docker tips & tricks
Docker tips & tricks
Dharmit Shah
Redis as a message queue
Redis as a message queue
Brandon Lamb
Tendances
(20)
Class
Class
Gogo shell
Gogo shell
Biicode OpenExpoDay
Biicode OpenExpoDay
Gsummit apis-2012
Gsummit apis-2012
Linux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell script
Redis, Resque & Friends
Redis, Resque & Friends
Perl Memory Use 201209
Perl Memory Use 201209
Linux Command Line
Linux Command Line
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Redis & ZeroMQ: How to scale your application
Redis & ZeroMQ: How to scale your application
BOSH deploys distributed systems, and Diego runs any containers
BOSH deploys distributed systems, and Diego runs any containers
Application Logging in the 21st century - 2014.key
Application Logging in the 21st century - 2014.key
Ansible, Simplicity, and the Zen of Python
Ansible, Simplicity, and the Zen of Python
Fun with Ruby and Redis
Fun with Ruby and Redis
Commit2015 kharchenko - python generators - ext
Commit2015 kharchenko - python generators - ext
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
Thinking in Sequences - Streams in Node.js & IO.js
Thinking in Sequences - Streams in Node.js & IO.js
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Docker tips & tricks
Docker tips & tricks
Redis as a message queue
Redis as a message queue
Similaire à Rustでパケットと戯れる
One-Liners to Rule Them All
One-Liners to Rule Them All
egypt
Serialization in Go
Serialization in Go
Albert Strasheim
How to Begin to Develop Ruby Core
How to Begin to Develop Ruby Core
Hiroshi SHIBATA
Java Bytecode Fundamentals - JUG.lv
Java Bytecode Fundamentals - JUG.lv
Anton Arhipov
week5_giveup_pwn.pdf
week5_giveup_pwn.pdf
ssuser83af16
NSC #2 - Challenge Solution
NSC #2 - Challenge Solution
NoSuchCon
Unix And Shell Scripting
Unix And Shell Scripting
Jaibeer Malik
Airlover 20030324 1
Airlover 20030324 1
Dr.Ravi
Start Wrap Episode 11: A New Rope
Start Wrap Episode 11: A New Rope
Yung-Yu Chen
Piloting processes through std IO at the Ruby Drink-up of Sophia, January 2012
Piloting processes through std IO at the Ruby Drink-up of Sophia, January 2012
rivierarb
Perl Moderno
Perl Moderno
Tiago Peczenyj
Linux shell
Linux shell
Kenny (netman)
Some Rough Fibrous Material
Some Rough Fibrous Material
Murray Steele
Sphinx on Rails
Sphinx on Rails
freelancing_god
Creating "Secure" PHP applications, Part 2, Server Hardening
Creating "Secure" PHP applications, Part 2, Server Hardening
archwisp
Qore for the Perl Programmer
Qore for the Perl Programmer
Brett Estrade
Web::Scraper
Web::Scraper
Tatsuhiko Miyagawa
node ffi
node ffi
偉格 高
How to Begin Developing Ruby Core
How to Begin Developing Ruby Core
Hiroshi SHIBATA
Ngrep commands
Ngrep commands
Rishu Seth
Similaire à Rustでパケットと戯れる
(20)
One-Liners to Rule Them All
One-Liners to Rule Them All
Serialization in Go
Serialization in Go
How to Begin to Develop Ruby Core
How to Begin to Develop Ruby Core
Java Bytecode Fundamentals - JUG.lv
Java Bytecode Fundamentals - JUG.lv
week5_giveup_pwn.pdf
week5_giveup_pwn.pdf
NSC #2 - Challenge Solution
NSC #2 - Challenge Solution
Unix And Shell Scripting
Unix And Shell Scripting
Airlover 20030324 1
Airlover 20030324 1
Start Wrap Episode 11: A New Rope
Start Wrap Episode 11: A New Rope
Piloting processes through std IO at the Ruby Drink-up of Sophia, January 2012
Piloting processes through std IO at the Ruby Drink-up of Sophia, January 2012
Perl Moderno
Perl Moderno
Linux shell
Linux shell
Some Rough Fibrous Material
Some Rough Fibrous Material
Sphinx on Rails
Sphinx on Rails
Creating "Secure" PHP applications, Part 2, Server Hardening
Creating "Secure" PHP applications, Part 2, Server Hardening
Qore for the Perl Programmer
Qore for the Perl Programmer
Web::Scraper
Web::Scraper
node ffi
node ffi
How to Begin Developing Ruby Core
How to Begin Developing Ruby Core
Ngrep commands
Ngrep commands
Dernier
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
Andolasoft Inc
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
panagenda
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Arshad QA
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
Willy Marroquin (WillyDevNET)
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
SolGuruz
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
MyIntelliSource, Inc.
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
OnePlan Solutions
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
kalichargn70th171
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
Fatema Valibhai
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ThousandEyes
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
Delhi Call girls
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Steffen Staab
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
ABDERRAOUF MEHENNI
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Alberto González Trastoy
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
bodapatigopi8531
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Jhone kinadey
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Wave PLM
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
Dernier
(20)
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
Rustでパケットと戯れる
1.
2.
3.
4.
5.
6.
7.
8.
9.
No.1 No.4No.3No.2
10.
11.
No.2
12.
No.2 • • • • • • • • •
13.
No.2 http://rust-lang-ja.org/rust-by-example/index.html
14.
No.2 http://rust-lang-ja.org/rust-by-example/index.html
15.
$cargo new <name
> --bin No.2
16.
fn main() { println!("Hello
World!"); } No.2 src/main.rs
17.
$cargo run Hello World! No.2 src/main.rs
18.
No.2 http://rust-lang-ja.org/rust-by-example/index.html
19.
use std::net::{TcpListener, TcpStream}; use
std::thread; // traits use std::io::Read; use std::io::Write; fn handle_client(mut stream: TcpStream) { let mut buf; loop { // clear out the buffer so we don't send garbage buf = [0; 512]; let _ = match stream.read(&mut buf) { Err(e) => panic!("Got an error: {}", e), Ok(m) => { if m == 0 { // we've got an EOF break; } m }, }; match stream.write(&buf) { Err(_) => break, Ok(_) => continue, } } } fn main() { let listener = TcpListener::bind("127.0.0.1:8888").unwrap(); for stream in listener.incoming() { match stream { Err(e) => { println!("failed: {}", e) } Ok(stream) => { thread::spawn(move || { handle_client(stream) }); } } } } No.2
20.
21.
22.
23.
No.3
24.
No.3 • • • • https://rust-lang-ja.github.io/the-rust-programming- language-ja/1.6/book/crates-and-modules.html
25.
No.3
26.
No.3
27.
No.3
28.
No.3
29.
No.3
30.
No.3
31.
No.3
32.
No.3
33.
No.3
34.
No.3
35.
libpnet/pnet_datalink/src/netmap.rs