Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }

1 Answers  


what is variable length argument list?

2 Answers  


Write a complete program that consists of a function that can receive two numbers from a user (M and N) as a parameter. Then print all the numbers between the two numbers including the number itself. If the value of M is smaller than N, print the numbers in ascending flow. If the value of M is bigger than N, print the numbers in descending flow. may i know how the coding look like?

2 Answers  


how to return a multiple value from a function?

2 Answers   Wipro,


#include<stdio.h> main() { FILE *ptr; char i; ptr=fopen("zzz.c","r"); while((i=fgetch(ptr))!=EOF) printf("%c",i); }

1 Answers  






#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }

1 Answers  


const int perplexed = 2; #define perplexed 3 main() { #ifdef perplexed #undef perplexed #define perplexed 4 #endif printf("%d",perplexed); } a. 0 b. 2 c. 4 d. none of the above

1 Answers   emc2, HCL,


Is the following code legal? struct a { int x; struct a *b; }

2 Answers  


prog. to produce 1 2 3 4 5 6 7 8 9 10

4 Answers   TCS,


main(){ char a[100]; a[0]='a';a[1]]='b';a[2]='c';a[4]='d'; abc(a); } abc(char a[]){ a++; printf("%c",*a); a++; printf("%c",*a); }

2 Answers  


main() { signed int bit=512, i=5; for(;i;i--) { printf("%d\n", bit = (bit >> (i - (i -1)))); } } a. 512, 256, 128, 64, 32 b. 256, 128, 64, 32, 16 c. 128, 64, 32, 16, 8 d. 64, 32, 16, 8, 4

2 Answers   HCL,


Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)

3 Answers   Disney, Google, ZS Associates,






Categories