Solved

socket io with iostream

Posted on 1997-05-15
2
501 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
2 Comments
 
LVL 2

Accepted Solution

by:
mlev earned 50 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

708 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

16 Experts available now in Live!

Get 1:1 Help Now