file2sock - Online in the Cloud

This is the command file2sock that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


file2sock - Sends the contents of a file to a TCP or UNIX domain socket.

SYNOPSIS


file2sock -s <source> -d <dest> [-t <type>] [-p <port>]

DESCRIPTION


Sends the contents of a file to a TCP or UNIX domain socket. The contents of the file are
sent in their original format - no conversion, encapsulation, or other processing is done
before sending the contents to the destination socket.

<source> Name of the file to read from. Use '-' to read from stdin.

<dest> If destination is a TCP socket, the address/hostname to connect to.
If destination is a Unix domain socket, the path to the socket.

<type> Specifies the type of destination socket.
Valid values include: tcp unix (default)

<port> Port number to connect to if destination is TCP socket.

Use file2sock online using onworks.net services



Latest Linux & Windows online programs