Sockets programming -- Connection refused
Alexandros Andreou
andreou at kerveros.gr
Sun Aug 6 14:22:54 EEST 2000
> Edw thelei: port=htons(...);
Na kati poy PANTA 3exnaw!!! :-)
> > if ((fp = fdopen((int)stdin, "r")) == NULL) {
> Edw ti akrivws kaneis? Auto pou theleis kaneis den prokeitai na doulepsei
> etsi. To stdin exei anoixto file perigrafea, kai legetai stdin!
Den kanw fopen(). Kanw fdopen(), gia na dwsw se ena valid fd ena fp, etsi
wste an doulevw me functions poy xrhsimopoioyn streams (px: fscanf)
> Nikos Mavroyanopoulos
Thanks!!!
--
linux-greek-users mailing list -- http://lists.hellug.gr
More information about the Linux-greek-users
mailing list