当前位置:网站首页>Socat uses "suggestions collection"
Socat uses "suggestions collection"
2022-07-23 19:35:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
use socat Try a few netcat Common usage , The comparison is as follows : 1. listen tcp 12345 port # nc -l 127.0.0.1 12345 # socat tcp-listen:12345 – 2. Far away tcp 12345 The port sends Braille # echo “test” | nc 127.0.0.1 12345 # echo “test” | socat – tcp-connect:127.0.0.1:12345 3. listen udp 23456 port # nc -u -l 127.0.0.1 23456 # socat udp-listen:23456 – 4. Far away udp 23456 The port sends Braille # echo “test” | nc -u 127.0.0.1 23456 # echo “test” | socat – udp-connect:127.0.0.1:23456 5. listen unix socket /tmp/unix.socket # nc -U -l /tmp/unix.socket netcat No, -U Options # socat unix-listen:/tmp/unix.socket – 6. To the local unix socket /tmp/unix.socket Send Braille # echo “test” | nc -U /tmp/unix.socket netcat No, -U Options # echo “test” | socat – unix-connect:/tmp/unix.sock 7. Listen to local unix datagram socket /tmp/unix.dg.sock nc110 Uncertain ,netcat Not sure # socat unix-recvfrom:/tmp/unix.dg.sock – 8. To the local unix datagram socket /dev/log Send Braille nc110 Uncertain ,netcat Not sure # echo “test” | socat – unix-sendto:/tmp/unix.dg.sock
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/126805.html Link to the original text :https://javaforall.cn
边栏推荐
- LeetCode每日一题(1514. Path with Maximum Probability)
- mBio | 海洋所孙超岷组在深海原位验证了微生物介导的单质硫形成新通路
- Codeforces Round #805-#808【部分题解】
- 树莓派3b串口登录前准备工作
- H7-TOOL的I2C接口方式脱机烧录操作方法,已经发布(2022-07-16)
- 总结一些最近见到的 TRICK
- 四旋翼飞行器1——结构和控制原理
- Sui of the public chain (New Public chain project established by former Facebook /meta employees)
- USB3.0:VL817Q7-C0的LAYOUT指南
- R语言检验样本是否符合正态性(检验样本是否来自一个正态分布总体):使用nortest包的sf.test函数检验样本是否符合正态分布(normality test)
猜你喜欢

As a background developer, you must know two kinds of filters
![[shutter -- layout] flexible layout (flex and expanded)](/img/03/0f07a56487f8e91045f9e893e9f96c.png)
[shutter -- layout] flexible layout (flex and expanded)

三维点云课程(七)——特征点描述

H7-TOOL串口脱机烧录操作说明,支持TTL串口,RS232和RS485(2022-06-30)

LeetCode刷题:回文数

Alibaba's latest masterpiece! It took 187 days for the liver to come out. 1015 pages of distributed full stack manuals are so delicious

Mee | Zhejiang University Chenglei group develops a new method for designing and constructing synthetic flora

(CVPR-2022)BiCnet

USB3.0: layout guide for vl817q7-c0

TODO FIXME BUG TAG FEATURE 等配置
随机推荐
Canvas draw text and clear draw
redis过期key的删除策略[通俗易懂]
A preliminary study of the relationship between combinatorial mathematics and DP, and the derivation of resettable combinatorial formulas
还在用Xshell?你out了,推荐一个更现代的终端连接工具
微信小程序自己实现一个全局事件总线
界面设计四大原则
(CVPR-2022)BiCnet
idea 选中代码生成方法
PowerCLi 管理VMware vCenter 一键批量部署OVF
Ros2 self study notes: rviz visualization tool
Leetcode daily question (1514. path with maximum probability)
Still using xshell? You are out. I recommend a more modern terminal connection tool
MEE | 浙大程磊组开发设计与构建合成菌群新方法
Codeforces Round #805-#808【部分题解】
入门数据库days1
二叉树高度 [log2n]+1与log2(n+1)是否相等
吃透Chisel语言.21.Chisel时序电路(一)——Chisel寄存器(Register)详解
ACM mm 2022 oral | dig: the new framework of self-monitoring character recognition refreshes the recognition performance of 11 public scene character data sets, with an average improvement of 5%
R语言使用dwilcox函数生成Wilcoxon秩和统计分布密度函数数据、使用plot函数可视化Wilcoxon秩和统计分布密度函数数据
树莓派ssh登录