Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What exactly does SO_LINGER do?



What exactly does SO_LINGER do?..

Answer / chaitanya

On some unixes this does nothing. On others, it instructs the kernel to abort tcp connections instead of closing them properly. This can be dangerous.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Socket Programming Interview Questions

Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?

0 Answers  


Can a single socket port be used for multiple applications?

0 Answers  


Why does connect() succeed even before my server did an accept()?

1 Answers  


Why do we need socket programming?

0 Answers  


How do I properly close a socket?

1 Answers  


How can I listen on more than one port at a time?

1 Answers  


What is the function of socket?

0 Answers  


How come I get address already in use from bind()?

1 Answers  


How can I set the timeout for the connect() system call?

0 Answers  


How often should I re-transmit un-acknowleged messages?

1 Answers  


What is sae socket?

0 Answers  


Can a socket have multiple ports?

0 Answers  


Categories