C

Asked • 05/04/19

close vs shutdown socket?

In C, I understood that if we close a socket, it means the socket will be destroyed and can be re-used later.How about shutdown? The description said it closes half of a duplex connection to that socket. But will that socket be destroyed like `close` system call?

1 Expert Answer

By:

Ryan G. answered • 05/23/23

Tutor
New to Wyzant

Systems Programming and Computer Architecture

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.