Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Socket, accept () function return values are 0

Socketfd=accept (hServer, (struct sockaddr *) &sin, &len);

Printf socketfd when socketfd 0.
This is how, if the matter

Socket, accept () function return values are 0

Accept non-negative return is a success, how else do you ah em02 : :

Socket, accept () function return values are 0

That is to say. . Fu also be described as a socket 0 -
I seem to remember the start of a process. . 0,1,2 system will be open to the process. . Several fixed descriptors bars. . Id is the descriptor can Mody-0

Socket, accept () function return values are 0

Sockfd is not 0.

0 is the general standard input.

You do not know the entrants, the value is the number of cases. It is not practically possible when imported.

Can only look at the issue received a context where

Socket, accept () function return values are 0

Accept return of the presentation adapter descriptor, and not a conceptual input and output documents Handle 0,1,2

Socket, accept () function return values are 0

Accept should have been successful, the return 0 may be due to the closure of the standard input in the process, did not accept the minimum return on the descriptors 0.

Socket, accept () function return values are 0

That is why the procedures Lane printf sometimes wrote SOCKET going reasons.

Socket, accept () function return values are 0

Very easy to achieve this effect :
Close (0);
Accept (. . . )
Can



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com