Solved

socket io with iostream

Posted on 1997-05-15
2
504 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eclipse. How to move up/down source folders 4 75
How to split this in C++ 4 94
Eclipse Neon and jdk 1.8.0 11 135
FMX TCameraComponent Problem 2 52
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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 viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

911 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

21 Experts available now in Live!

Get 1:1 Help Now