shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Socket en Shell Script


From: Tiago Barcellos Peczenyj
Subject: Re: [shell-script] Socket en Shell Script
Date: Wed, 23 May 2007 15:21:05 -0300

Que tal usar o /dev/tcp ?

exec 3<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.1\n\n">&3
cat <&3

Aqui vc pode ver mais detalhes:

http://tldp.org/LDP/abs/html/devref1.html

ps: não sei como trabalhar com proxy, nesse caso.

On 5/22/07, alisson3at110 <address@hidden> wrote:






Boa noite
 Estou fazendo um projeto para Faculdade, o projeto é fazer um Socket,
 como eu trabalho com Shell Script, gostaria de fazer esse projeto em
 Shell Script e não em Java, como a maioria da sala.
 Como eu posso fazer isso em Shell Script ?? alguem tem alguma apostila
 ou script pronto para mim enviar ??

 Alisson




--
Tiago B Peczenyj
Linux User #405772

# cd /pub
# more beer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]