Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
s82kd92l
V2EX  ›  Linux

有熟悉 socat 的朋友吗

  •  
  •   s82kd92l · Nov 21, 2024 · 1472 views
    This topic created in 552 days ago, the information mentioned may be changed or developed.

    我想用 socat 监听一个 udp 端口,然后把收到的包都写入到一个临时文件里面,下面这个写法运行后直接退出了,也没有任何报错。请问该怎么写呢?

    socat udp-recv:1234 OPEN:/tmp/1,create,append,ignoreeof

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5360 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 06:59 · PVG 14:59 · LAX 23:59 · JFK 02:59
    ♥ Do have faith in what you're doing.