xtreme v.2 and TCL

Lazaros Sotiriadis lsot at sirenes.bio.auth.gr
Fri Jun 18 11:47:15 EEST 1999



Fisika yparxei panta i apli lisi tis tcl :

# tclsh
% socket -server blah 6699
%

To port einai pleo anixto kai perimenei connections. I tcl tha kanei
kainourgio connection se kathe request kai tha anixei ena neo channel gia
epikinonia.

Krataei ena mikro buffer to channel to opio den pathenei pote overflow
dioti ta parapano apla sbinontai. Me fconfigure vevea boreis na kleiseis
telios to buffering kai to blocking.

Ayto poy den katalava einai giati de douleeui to command pou vazo
otan trexo tin socket. I edoli tis socket einai 
socket -server command ?options? port.

Thn command tin ektellei me 3 parametrous (th dieythinsi tou client pou
kanei connect, to port tou client klp). An loipon grapso ena programmataki
pou grafei ta argv se ena arxeio, perimeno se kathe connection na do
entries. Den simbenei ayto omos. Oute kai opiadipote alli edoli douleeui.

Etsi den xero to channelID tou kathe client pou kanei connect kai den boro
na to anixo gia na do ti stelnei o client.

HELP

LS
  



On Fri, 18 Jun 1999, Kostas Gewrgiou wrote:

> 
> 
> On Thu, 17 Jun 1999, Mavroyanopoulos Nikos wrote:
> 
> > Mia ligo veltiomeni ekdosi. Auti menei panta anoikti sto 6699 ara arkei
> > na to trexete mia fora. An den sas endiaferei ti sas stelnei i xtreme
> > kante uncomment to NO_STDOUT kai NO_STDERR kai trexte to sto background
> > san "./a.out &". Ante kai oso kratisei:)
> > 
> ....
> 
>  kai gia osous exoun to netcat ena:  nc -l -p 6699 tha kanei
> 
> Kostas Gewrgiou
> 
> 
> --
> ====================================================================
> Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
> Ta archives tis listas einai sto http://lists.hellug.gr/archives
> prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
> Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
> ====================================================================
> 

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list