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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a sae socket?

972


What is a deep well socket?

981


What are the types of sockets?

970


How can I write a multi-homed server?

1691


What is sae socket?

890


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?

1485


Is tcp or unix socket faster?

899


What is active unix domain sockets?

953


How is a socket created?

971


Where is the socket located?

948


Can multiple sockets use the same port?

921


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

1548


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

1844


How do unix sockets work?

899


How do I use TCP_NODELAY?

1608