How we will connect multiple client ? (without using
fork,thread)

Answers were Sorted based on User's Feedback



How we will connect multiple client ? (without using fork,thread)..

Answer / amaresh_83

hi
plz send me (avirus_944@yahoo.co.in)

Thanks
Amaresh...

Is This Answer Correct ?    1 Yes 0 No

How we will connect multiple client ? (without using fork,thread)..

Answer / jay

Using select() in socket, we can connect multiple clients.

Please go through the uses of select().

Is This Answer Correct ?    1 Yes 1 No

How we will connect multiple client ? (without using fork,thread)..

Answer / vrodn

select func.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Code Interview Questions

func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d !\n ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); }

1 Answers   Satyam,


main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }

2 Answers   Wipro,


Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.

2 Answers   Wipro,


main() { struct student { char name[30]; struct date dob; }stud; struct date { int day,month,year; }; scanf("%s%d%d%d", stud.rollno, &student.dob.day, &student.dob.month, &student.dob.year); }

1 Answers  


How we print the table of 2 using for loop in c programing?

14 Answers   HCL, Wipro,






1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.

8 Answers   IBPS, Infosys, TCS,


Write a C function to search a number in the given list of numbers. donot use printf and scanf

5 Answers   Honeywell, TCS,


main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above

4 Answers   HCL, LG,


main() { static int var = 5; printf("%d ",var--); if(var) main(); }

1 Answers  


can u give me the c codings for converting a string into the hexa decimal form......

1 Answers  


main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }

7 Answers  


how can u draw a rectangle in C

53 Answers   Accenture, CO, Codeblocks, Cognizant, HCL, Oracle, Punjab National Bank, SAP Labs, TCS, University, Wipro,


Categories