Where is Winsock (VB 6.0) in VB 2012?


  • Hi I had a book for VB 6 and it uses "winsock component" 's methods. Where is it in VB 2012?
    Wednesday, October 03, 2012 5:38 PM


  • Visual Basic.Net doesn't use the Winsock Components.  Instead, the .NET Framework provides a huge amount of networking capabilities which are far easier to use.

    Most of the Winsock Component is directly replaceable with types from the System.Net Namespace:

    That being said, there are some great high-level classes you can use, such as WebClient or FtpWebRequest, etc, which make common tasks far simpler.

    Reed Copsey, Jr. -
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    • Proposed as answer by Cor LigthertMVP Wednesday, October 03, 2012 7:47 PM
    • Unproposed as answer by Cor LigthertMVP Thursday, October 04, 2012 6:16 AM
    • Marked as answer by Javid5555 Thursday, October 04, 2012 6:18 AM
    Wednesday, October 03, 2012 5:44 PM