New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ttcp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ttcp

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ttcp (Test TCP) - Benchmarking Tool and Simple Network Traffic Generator

This is a ruby version of the original C ttcp program.

This tool aims to be a drop in replacement for the original C version, with interoperable networking and command line options. ie: you can have the C and ruby versions talk to each other.

http://www.pcausa.com/Utilities/pcattcp.htm

Installation

Run $ gem install ttcp.

Usage

Similar to the original TTCP program, run a receiver on one machine and a transmitter on another, in that order:

And:

For more command line options run:

Dependencies

Runtime dependencies:

  • only ruby std libraries

Development dependencies:

  • bundler
  • rake
  • rpsec
  • ci_reporter (for use with jenkins)

Optionally:

  • guard
  • guard-rspec

Compatibility

  • MRI ruby 1.8.7
  • MRI ruby 1.9.2
  • JRuby (tested in 1.9 compatibility mode)

Contributing

  1. Fork
  2. Install dependencies by running $ bundle install
  3. Write tests and code
  4. Make sure the tests pass by running $ rake test
  5. Push and send a pull request on GitHub

Known issues

  • Tests don't seem to run in JRuby 1.6.5, but the TTCP program works itself.

Credits

Special thanks to the Mike Muuss and Terry Slattery and other contributors of the original TTCP program.

Copyright © 2012 Matt Connolly. Released under the MIT license. See LICENSE.

FAQs

Package last updated on 19 Feb 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc