Skip to content

Utilities that send and receive data over TCP

Notifications You must be signed in to change notification settings

hktkdmp/tcp_transmit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcp_recv & tcp_send

Sockets programs that transmit and receive data over the Internet using TCP.

Description

tcp_recv listens on a port number for a remote data transmission. All data received is written to stdout until end-of-file.

tcp_send attempts to connect to a host on the given port for a data transmission. Once the connection has been established, all data that is written to stdin is sent via TCP until end-of-file.

More details are given in the doc/ directory.

Dependencies

  • gcc
  • make

Compilation

To build tcp_recv, simply do the following:

make tcp_recv

To build tcp_send, simply do the following:

make tcp_send

Usage

Usage syntax for tcp_recv is given by the following:

tcp_recv port [> outfile]

Usage syntax for tcp_send is given by the following:

tcp_send host port [< infile]

About

Utilities that send and receive data over TCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published