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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: socket programming


  • Subject: Re: lug-bg: socket programming
  • From: vd@xxxxxxxxx (Vladimir Dzhuvinov)
  • Date: Mon, 28 May 2001 11:51:34 +0000 (GMT)



Zdravei,

Kato prochetah po-vnimatelno kakvo pisa, problemyt e pri izprastastata
strana. Taka che zabravi za sockopt(). Viw syobstenieto na G. Georgiev.

On Mon, 28 May 2001, Stanislav Lechev wrote:

>sys setvbuf moga da premahna biffer-a na FD (read/write) ot files
>no kogato stawa duma za socket neshte i neshte
socket() vrysta file descriptor, a ne bufer, taka che tova, koeto si
pravil e niamalo smisyl (osven ako ne si prevyrnal sock filedes v bufer
predi tova).

>da i az izpolzwam libreadline no problema e che kogato cheta ot socket
>dori i da iskam da procheta samo 1 byte
>toj ne idwa do mene dokato ne e natisnat enter-a
>t.e.
>az cheta 1 byte... otsreshta mogat da mi napishat 101 no te shte stignat
>do mene edwa sled natiskaneto na enter
>ta towa e linebuffer
Da tova e line buffering, no pri sender, a ne receiver! Problemyt e na
otsrestnata strana.

Vladimir Dzhuvinov


--
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

===========================================================================
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.