sock - Sock -- A Simple Shell Interface to Network Sockets

Property Value
Distribution openSUSE Leap 15.0
Repository Network Utilities all
Package name sock
Package version 1.1
Package release lp150.93.1
Package architecture x86_64
Package type rpm
Installed size 16.62 KB
Download size 15.81 KB
Official Mirror
This program serves as an interface for network sockets for use in both
shell scripts and manually from the command line. In contrast to
netcat, it handles EOF in a way so, for example, tar archives can
easily be transferred. See the man page (man 1 sock) for more details.
host1 # sock -l :7777 > file host2 # cat file | sock host1:7777
host1 # sock -l :7777 | tar xvzfp - host2 # tar czfp - some/dir | sock
Martin Mares <>


Package Version Architecture Repository
sock - - -


Name Value -


Name Value
sock = 1.1-lp150.93.1
sock(x86-64) = 1.1-lp150.93.1


Type URL
Binary Package sock-1.1-lp150.93.1.x86_64.rpm
Source Package sock-1.1-lp150.93.1.src.rpm

Install Howto

  1. Add the Network Utilities repository:
    # zypper addrepo network-utilities
  2. Install sock rpm package:
    # zypper install sock




2001-03-21 -
- create package
2006-01-25 -
- converted neededforbuild to BuildRequires
2004-02-26 -
- added option # norootforbuild in specfile
2003-07-24 -
- update to 1.1
- When an address is missing, assume localhost. This way
"sock :23" etc. works as expected
- UNIX domain sockets work with long filenames
- Added "-n" (avoid reverse DNS lookups) switch
- Inverted the "-e" switch: default is now to terminate after
seeing EOF in both direction
- Updated man page
2003-05-13 -
- use %defattr
- bzip sources
2002-09-17 -
- removed bogus self-provides

See Also

Package Description
socketpipe-1.9-lp150.4.1.x86_64.rpm Zero Overhead Remote Process Plumbing for TCP/IP
speedometer-2.8-lp150.1.1.noarch.rpm Network Transfer Rate Display
src_vipa-2.1.0-lp150.166.1.x86_64.rpm Virtual Source IP address support for HA solutions
statgrab-0.91-lp150.23.2.x86_64.rpm Portable System Statistics Tools
subnetcalc-2.4.3-lp150.6.1.x86_64.rpm IPv4/IPv6 Subnet Calculator
surfraw-2.3.0-lp150.5.3.noarch.rpm Command Line Interface to WWW Search Engines
t6_client-0.8-lp150.2.1.x86_64.rpm Tunnel6 Client
tcpdump-4.9.2-lp150.51.2.x86_64.rpm A Packet Sniffer
tcpreen-1.4.4-lp150.2.1.x86_64.rpm TCP/IP re-engineering and monitoring program
tcpreplay-4.2.6-lp150.15.2.x86_64.rpm Network analysis and testing tools
tcpscript-0.2-lp150.4.1.x86_64.rpm Tool that easily allows other People to see your Terminal Session Screen
tcptraceroute-1.5.beta7-lp150.101.2.x86_64.rpm Traceroute Implementation using TCP Packets
tcptrack-1.3.0-lp150.3.2.x86_64.rpm Packet Sniffer that displays TCP Connections similarly to 'top'
tcpwatch-1.3.1-lp150.1.1.noarch.rpm Monitor Forwarded TCP Connections or HTTP Proxy Connections
telnet-1.2-lp150.332.1.x86_64.rpm A client program for the telnet remote login protocol