client-server programming

Panagiotis Voudouris voudouri at cs.bris.ac.uk
Thu Mar 22 14:26:01 EET 2001


Gousios Georgios wrote:
> 
> Geia sas
> Ayth thn epoxh asxoloymai, logo panephsthmiou, me client server programming.
> Exv tis parakato apories:
> 
> a)Mhpos yparxei kapia synarthsh san thn fflush pou na katharizei oti exei
> "perisepsei" se ena socket meta apo read?

_Den 3erw_ 100% alla de nomizw. Pantws meta to read pou 8eleis, sunexise
na diabazeis mexri na mhn exei tipota allo.

> b)Yparxei tropos na kanoyme thn read na mhn "kollaei" se kapoio socket otan
> den briskei dedomena?

man 7 socket
man 2 setsockopt
man 2 fcntl
man 2 poll
man 2 select

> c)Oi signal handlers (px signal(SIGCHLD,func)) prepei na kaloyntai synexos
> se ena brogxo gia na doylepsoyn h apla ftanei na kleithoyn mia fora sthn
> arxh kai tha pianoyn ta signals otan ayta emfanistoyn?

To kaleis mia fora sthn arxh kai otan pianei to signal o handler prepei
na to ananewseis sth func.



More information about the Linux-greek-users mailing list