@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: TODO - a short description !!!!C# Signature: [DllImport("ws2_32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern int closesocket(IntPtr s); !!!!VB Signature: Declare Function closesocket Lib "ws2_32.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: static public void CloseSock(Socket sck) { //you may add sck.Shutdown(SocketShutdown.Both); // to close the receiving and sending functions of the socket closesocket(sck.Handle); } Documentation: closesocket@msdn on MSDN
Edit ws2_32.closesocket
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.