![]() ![]() Network side of the connection shuts down. To the host, and anything that comes back across the connection is In the simplest usage, "nc host port" creates a TCP connection to the ![]() This behaviour is documented in /usr/share/doc/netcat-traditional/README.gz (on my machine), the boldening is mine: It behaves like mine, Netcat 1.10 on Debian Jessie. Your netcat doesn't shut the connection after the transfer, so it is different from the one(s) described above. It the file which is to be transferred: $ nc 1234 < filename.inĪfter the file has been transferred, the connection will close Using a second machine, connect to the listening nc process, feeding Start by using nc to listen on a specific port, with output captured There's an example given on both linked sites: There are different versions of nc, as you can find on nc(1) - Linux man page or nc(1) BSD General Commands Manual the connection should shut down right after the transfer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |