TCP stream?

B

Bob Altman

Is there a stream class that handles TCP/IP or UDP/IP, or a Socket class to
serve the same purpose, hiding somewhere in the unmanaged C++ standard
library?

- Bob
 
C

Carl Daniel [VC++ MVP]

Bob said:
Is there a stream class that handles TCP/IP or UDP/IP, or a Socket
class to serve the same purpose, hiding somewhere in the unmanaged
C++ standard library?

Not in the standard library, no (the C++ standard doesn't admit to the
existence of "exotic" things like sockets).

MFC, I believe, has classes that encapsulate TCP/UDP socket work. You might
also look at other librtaries like ACE:

http://www.cs.wustl.edu/~schmidt/ACE.html

-cd
 
I

ismailp

MFC shold have CArchive support (as far as I remember from my
black-and-white memories).

You can, however, roll your own network stream classes in an
STL-friendly way, if this is your intent. There was an STL-compatible
network stream library, search in google groups.

Ismail
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top