Results 1 to 2 of 2

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

  1. #1
    Hyperactive Member
    Join Date
    Oct 08
    Posts
    272

    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 08
    Posts
    6,886

    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.
    The better the information you give to begin with and the sooner you reply the sooner you will get help and get your problem resolved


    When I was young and in my prime I used to program all the time but now I'm old and getting gray I only program once a day

Posting Permissions

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