udp "connections"

Constantinos A. Kotsokalis C.Kotsokalis at ece.ntua.gr
Tue Dec 29 12:34:51 EET 1998


On 29 Dec 1998 10:58:32 +0200, Kostas Papadakis wrote:
>esto oti 8elo na kano udp epikoinonia kai na elenxo an pragmatopoiitai
>sosta..

Estw oti thes :-)

>me tin connect() katarxin se udp mode den mou bgazei pote la8os. 

Wooooo connect se udp socket! Kosta ta udp einai connectionless sockets,
den kaneis connect. H connect() einai sta tcp socket, pou einai 
connection oriented.

>meta oi send() kai sendto() den sou lene an eftasan ta data sosta ap oti
>eida sto man page.

Den mporeis na 3ereis an eftasan ta data... to udp den exei epibebaiwsh
opws to tcp. Esy apla ta stelneis, kai an ftasoun ftasane. Ektos an
yparxei kai lew blakeies, pou den to nomizw omws.

>ektos apo na kano checksum kai stis 2 plevres kai na apantao analoga,
>iparxei kapoios allos
>tropos oste na min xreiazetai na ginetai to check apo emena alla na
>ginetai apo to idio to udp?

An 3erw kala, oxi...

  --C

PS: An thes na asxolh8eis me net programming des th Biblo, tou Stevens:
    "Unix Network Programming".

-- 
Constantinos A. Kotsokalis || C.Kotsokalis at ece.ntua.gr
National Technical University of Athens - GREECE
Electrical and Computer Engineering Department
"Artificial intelligence is no match for natural stupidity."
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list