[英]debugging Unix pipe with gdb
I've written Unix Pipes but I don't have the good result.我已经写了 Unix 管道,但我没有好的结果。
I'm wondering if it's possible to debugging Unix pipe in C langage with gdb.我想知道是否可以在 C 语言中调试 Unix pipe 与 ZCA3E1C20EFD56A8778766。 If no, do you know a method to do that?
如果没有,你知道这样做的方法吗?
thanks in advance.提前致谢。
Use netcat with the -U switch.使用带有 -U 开关的 netcat。 You will be able to create a listen/sender, or sit in between.
您将能够创建一个监听/发送者,或者介于两者之间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.