CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    17

    Unhappy TcpClient in visual C++

    I want to implement a form with a connect, a disconnect and a send button (Which sends some ASCII code through the connection and recieves a reply) Does anyone know how I would be able to do this in Visual C++ using the TcpClient class?

  2. #2
    Join Date
    Feb 2008
    Posts
    47

    Re: TcpClient in visual C++

    Hi,

    I never have used the TcpClient class in C++
    Though I know for a fact that there is an easy way to do this with the Winsock API.

    Give a look into this maybe.

  3. #3
    Join Date
    Feb 2008
    Posts
    17

    Exclamation Re: TcpClient in visual C++

    Do you know of any websites that have examples using Winsock API? If not does anyone know of a way to seperate out TcpClient code so that one function can connect and another function disconnect from a tcp connection?
    Last edited by ashmanq; February 20th, 2008 at 05:31 AM.

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

Featured