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
Solved

socket io with iostream

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
is twain_32.dll cmpatible with windows 10 ? 10 184
Dynamically allocate memory 9 62
egit plugin on eclipse 8 82
Precision Problem in C++ 7 43
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…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

809 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