[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the advantage of using /dev/tcp/host/port
From: |
Peng Yu |
Subject: |
Re: What is the advantage of using /dev/tcp/host/port |
Date: |
Tue, 30 Mar 2021 18:34:03 -0500 |
>> Is it allow a connect to get established once but sent and receive
>> messages multiple times,
>
> Yes. For example, you can implement a passive FTP client with it...
Is there any serious implementation of applications (e.g., FTP, HTTP,
...) using this interface? Or it is just a possibility, but nobody
ever implemented full-fledged applications based on it?
Is the establishment of the connection at the execution a command like this
`exec 3<>/dev/tcp/www.google.com/80`
How to close this bidirectional connection?
--
Regards,
Peng