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

What is "far" and "near" pointers in "c"...?

3 Answers  


how to return a multiple value from a function?

2 Answers   Wipro,


Is it possible to print a name without using commas, double quotes,semi-colons?

7 Answers  


main( ) { void *vp; char ch = ‘g’, *cp = “goofy”; int j = 20; vp = &ch; printf(“%c”, *(char *)vp); vp = &j; printf(“%d”,*(int *)vp); vp = cp; printf(“%s”,(char *)vp + 3); }

1 Answers  


int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }

1 Answers  






#define assert(cond) if(!(cond)) \ (fprintf(stderr, "assertion failed: %s, file %s, line %d \n",#cond,\ __FILE__,__LINE__), abort()) void main() { int i = 10; if(i==0) assert(i < 100); else printf("This statement becomes else for if in assert macro"); }

1 Answers  


Cluster head selection in Wireless Sensor Network using C programming language.

0 Answers  


#define SQR(x) x * x main() { printf("%d", 225/SQR(15)); } a. 1 b. 225 c. 15 d. none of the above

3 Answers   HCL,


main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }

1 Answers   TCS,


plz send me all data structure related programs

2 Answers  


4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }

2 Answers   Broadridge,


Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.

1 Answers  


Categories