Skip to main content

Timeline for Usage of nc with timeouts in ms

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Nov 17, 2021 at 23:28 comment added Gabriel Staples This is very useful for control of benchtop laboratory instruments, such as power supplies. It helped me in my Q&A here. Thanks.
Jan 8, 2019 at 14:36 comment added Mark Good hint! It seems to work as expected.
Jan 8, 2019 at 14:36 vote accept Mark
Jan 7, 2019 at 21:42 history edited ozzy CC BY-SA 4.0
added 46 characters in body
Jan 7, 2019 at 21:38 comment added ozzy @Mark I revised my answer. It’s still not 100% clear to me what you wish to do, but I guess the ‘timeout’ tool may suit your needs.
Jan 7, 2019 at 21:16 history edited ozzy CC BY-SA 4.0
deleted 14 characters in body
Jan 7, 2019 at 16:03 comment added Mark I apologize. I just trying to send a TCP packet to a remote device, receive the answer and close the socket. Of course I can write a C++ application to do the same, but I'm trying to do this on command line. The only problem is 1 second of timeout is too much...
Jan 6, 2019 at 15:29 comment added ozzy @Mark OK. I think I don’t understand what you are trying to achieve. I’m sorry. Perhaps it is possible to clarify the question. E.g. clarify what network entities are involved, how they are or should be configured, and which one is under your control. Otherwise, you may have more luck at SE Server Fault.
Jan 6, 2019 at 13:24 comment added Mark As far as I know, nmap is not so useful to receive the answer from the device. The application expects on stdout the data to be parsed. With the --data-string I guess I can easily send the TCP payload, but I don't find an easy way to retrieve the output.
Jan 6, 2019 at 11:32 history answered ozzy CC BY-SA 4.0