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

有熟悉 socat 的朋友吗

  •  
  •   s82kd92l · Nov 21, 2024 · 1669 views
    This topic created in 649 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   ·   Privacy   ·   Solana   ·   974 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:37 · PVG 06:37 · LAX 15:37 · JFK 18:37
    ♥ Do have faith in what you're doing.