Solved

socket io with iostream

Posted on 1997-05-15
2
508 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IdTCPClient1->Disconnect(); not working 3 67
thread-safe code in c++ 2 103
PHPStorm debugging issues 1 46
Autosar OS Multicore Share Resources confusion ? 2 40
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

803 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