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

If bind() fails, what should I do with the socket descriptor?

1 Answers  


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  


How many sockets can a cpu have?

0 Answers  


Can multiple clients connect to same socket?

0 Answers  


What is a socket api?

0 Answers  


After the chroot(), calls to socket() are failing. Why?

1 Answers  


How do I get my server to find out the clients address / host- name?

1 Answers  


What's the difference between impact sockets and regular sockets?

0 Answers  


system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?

0 Answers  


How come select says there is data, but read returns zero?

1 Answers  


Where is the socket located?

0 Answers  


What does af mean in sockets?

0 Answers  


Categories