Results 1 to 2 of 2

Thread: How do I use use TCP on network with API?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2008
    Posts
    1,238

    How do I use use TCP on network with API?

    Normally I have to use MSWINSOCK.OCX but that requires creating an installer for the program with the OCX file as a dependency. I want to make a portable program (no install required) that is capable of communication over a network via TCP.

    For this I'll need an API function. But what function? If anyone can help out here, please do. Thanks in advance.

  2. #2
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: How do I use use TCP on network with API?

    use the Winsock API. It has everything that the Winsock.ocx has plus more. I believe that the Winsock.OCX is just a wrapper for the Winsock API to simplify the Winsock API and has less features than usin the API.

    http://technet.microsoft.com/en-us/l.../cc958787.aspx

    http://www.planet-source-code.com/vb...52072&lngWId=1
    Last edited by jmsrickland; Jun 30th, 2012 at 06:46 PM.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width