Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: socket programming


  • Subject: Re: lug-bg: socket programming
  • From: firedust@xxxxxxx (Stanislav Lechev)
  • Date: Mon, 28 May 2001 19:26:48 +0300



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 28 May 2001 15:43, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 28 May 2001, Stanislav Lechev wrote:
> >da ... mersi mnogo ...
> >tochno towa imah predwid...
> >t.e. tochno za towa pitah
>
> Nedei, nedei, tova e greshno, tozi setsockopt setva t.nar. Mbufs v kernel
> space, te ne sa tochno za tazi cel. Mowe da ti dade errors, ako gi smenish
> na nepodhodiasta dyljina, dori da izgubish celi paketi pri UDP. Po-dobre
> ne pipai tam ;-)
>
smeq da te usporq :))
1st UDP ne me wylnuwa w momenta
2nd az ne gi smenqm s nepodhodqshta dylvina a gi nuliram

> Taka kakto pisa, problemyt ti (mai) e vyv funkciite, koito chetat terminal
> input. Samite socks sa filedes, niamat niakakvi buferi v user space,
> dokato ne im slojish takiva!
>
ne e taka
probwaj slednoto:
fprintf(stdout, "aaaaaa"); // wavno e da ne slagash "\n"
fprintf(stderr, "bbbbbb"); 
- -----
kakto pisah w prednbiq mail
man setvbuf
tam pishe che po default stdout e line buffered
a stderr e NOBUFFERED
dokato files imali block buffers

- ------
 Normally all files are block buffered. 
- ------

so....
oshte li si na mnenie che filedescriptorite nqmat buferi

> >10x a lot :)
>
> Greshka, greska ;-)
>
>
> - --
> PGP  1024D/959FC3BC 2001-02-12 Vladimir Dzhuvinov <vd@xxxxxxxxx>
>      Key fingerprint = CB20 FC83 775C C34E 49D5  0F71 BAE5 7C38 959F C3BC
>      Download public PGP key from http://www.valan.net/vdzhuvinov.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE7EkftuuV8OJWfw7wRAikJAKCogGTRAPKcW/Qk0jYPfqN6iA7e6QCgpBPD
> qYk8VpHoSoTXeSNLz0+dAfA=
> =gRm1
> -----END PGP SIGNATURE-----
>
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora

- -- 
- -===============================================================-
- - Regards,                                            AngelFire -
- -     Stanislav Lechev                    <firedust@xxxxxxx>    -
- -    PGP Key: http://firedust.vega.bg/pgp/StanislavLechev.asc   -
- -  Vega Internet Service Provider (tm)  --  http://www.vega.bg  -
- -===============================================================-
   Everyone is a genius. 
     It's just that some people are too stupid to realize it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7EnxI8RPXBhiMqewRAuVtAJ96vec8p7ijN7FqzeDm/lD6VVSchgCfRG7L
wHxuqTxYNCh5LpWUwgN63B0=
=dzvl
-----END PGP SIGNATURE-----
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.