Socket.Disconnect(bool reuse)
according to MSDN enables the program to reuse the socket. My questions are:
If we decide to reuse the socket does that mean it will reuse the same local end point as well? Would it preserve the port for that socket or would it just (I don't believe it does) save all the objects resources?
If in effect it does only save the resources would they be allocated to the next connection and if so do the send/receive buffers automaticly flush or is there some way the flush them? Does
Socket.ShutDown(ShutDown.Both)
do that for me on disconnect?In what situation would I use
Socket.Disconnect(false)
? If all the purpose is to reuse the socket what would this grant me?