?
Solved

socket io with iostream

Posted on 1997-05-15
2
Medium Priority
?
519 Views
Last Modified: 2013-12-14
I want to overload streambuf in the g++ iostream library to let me use iostream on tcp/ip sockets (and perhaps unix domain sockets too). Where can I find detailed descriptions of the rather cryptic methods in streambuf which I need to overload to make my streams work with sockets?
0
Comment
Question by:Sigma031497
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
mlev earned 100 total points
ID: 1163421
ftp://ftp.redhat.com//pub/contrib/RPMS/socket++-1.10-1.i386.rpm and
ftp://ftp.redhat.com//pub/contrib/SRPMS/socket++-1.10-1.src.rpm (if you want to use it on platforms other than Linux)
should help you.
Unfortunately, I failed to track the original location of a *.tar.gz, but README says it has been tested on several platforms.
0
 

Author Comment

by:Sigma031497
ID: 1163422
Ok, that's pretty good, but the sources for socket++ are not much better than those for streambuf. I will rate your answer higher if you point me to information concerning functionality of the methods of the streambuf class itself (otherwise I will accept the current answer in a day or two at a slightly lower rating)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

800 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