Re: Problem with socket programming



"Carl" <carl.lien@xxxxxxxxx> writes:

Recently I got a problem with LINUX C socket programming.
I want to get how many clients are waiting for being accepted in the
socket server pending queue .

Even if you could find out, it's hard to tell what you could do
with this information. The number of clients waiting to be
accepted can change (increase or decrease) at any time. You
wouldn't be able to check and act on the information as an atomic
action.

Oops--I just noticed that this is comp.lang.c. This newsgroup is
not a good place to ask this question. If you really want to ask
about Linux specifically, then you should ask in a Linux
newsgroup; otherwise, comp.unix.programming is a good place for
Unix-related questions.
--
char a[]="\n .CJacehknorstu";int putchar(int);int main(void){unsigned long b[]
={0x67dffdff,0x9aa9aa6a,0xa77ffda9,0x7da6aa6a,0xa67f6aaa,0xaa9aa9f6,0x11f6},*p
=b,i=24;for(;p+=!*p;*p/=4)switch(0[p]&3)case 0:{return 0;for(p--;i--;i--)case+
2:{i++;if(i)break;else default:continue;if(0)case 1:putchar(a[i&15]);break;}}}
.



Relevant Pages

  • Re: samba and big files question
    ... > windows box) through a linux box onto a webserver. ... approach is better if your data will be used infrequently by the clients. ... I would recommend that you investigate using rsync, ...
    (comp.os.linux.misc)
  • Re: Advanced Security Question
    ... The upgrade will probably include thin clients (getting ... linux image by TFTP) and wireless. ... We want to control all of the traffic on the network to the point and ... You corrupt the ARP tables of the remote machines ...
    (comp.os.linux.security)
  • Re: Linux is not free nor is it an overall improvement from Windows 2000.
    ... > systems with Linux. ... > client who happened to use IBM hardware. ... > has sullied our reputation somewhat with our clients. ...
    (alt.os.linux)
  • Re: MS Access equiv for Linux?
    ... corporate entity hasn't gone and hired a bunch of these folks, ... out there we could 'sell' Linux and make a pretty good return on the ... by pretty well with Open Office, Gimp, Gaim, KDE mail and other apps, ... And that's what my clients want, ...
    (comp.os.linux.misc)
  • Re: Linux is not free nor is it an overall improvement from Windows 2000.
    ... ]I work as consultant employed by a small firm and most of my clients are ... ]particular Redhat Linux, for over a year now as a solution that we can ... ]client who happened to use IBM hardware. ...
    (alt.os.linux)