System::Net::Sockets::TcpClient ACK

Posted on 2006-03-31
Last Modified: 2008-01-16
Will System::Net::Sockets::TcpClient handle ACK itself or do I have to check wether data is recieved correctly?
Question by:bjqrn
    1 Comment
    LVL 48

    Accepted Solution

    TcpClient Class implements trusted TCP connection, you don't need to do any low-level stuff. This is not UDP connection, if this is what you mean. To read data, you need to get stream associated with TcpClient and call it's Read method. Catch all exceptions thrown by called methods to handle possible errors.
    See code sample in MSDN topic "TcpClient Class".

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now