[so] [Tema 5] nc -q

Relu Dragan draganrelu at gmail.com
Sun May 21 17:47:23 EEST 2017


Salut,

Dupa ce pornesc serverul, daca ma conectez cu un client cu comanda
echo -ne "GET cale_catre_fisier HTTP/1.0\r\n\r\n" | nc  localhost 8888
primesc http reply in format corect si imi este afisat la stdout-ul
clientului.
Insa, daca ma conectez cu comanda
echo -ne "GET cale_catre_fisier HTTP/1.0\r\n\r\n" | nc  -q 1 localhost 8888
desi serverul trimite pe socketul clientului mesajul corespunzator, acesta
nu este
printat la stdout.
Care ar putea fi problema?

Multumesc,
Relu Dragan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20170521/581804d5/attachment.html>


More information about the so mailing list