Skip to content

jamiebarnett/tcp_rust_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP client example

An example TCP client that writes input from stdin to a remote server.

Examples

Start netcat in a terminal window to listen for TCP connections on a port.

$ netcat -l 4444

In a new terminal window run this binary.

$ cargo run

Any input to stdin will be printed in the netcat output.

About

An example tcp client written in Rust that writes stdin inupt to a TCP stream.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages