file2sock(1) debian man page | unix.com

Man Page: file2sock

Operating Environment: debian

Section: 1

FILE2SOCK(1)							   User Commands						      FILE2SOCK(1)

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. file2sock July 2007 FILE2SOCK(1)
Related Man Pages
shevek_socket(3) - debian
udp(4p) - ultrix
smfi_setconn(3n) - hpux
udp(7) - osf1
socket(1) - php
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph