LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2009, 11:18 AM   #16
Lorian
LQ Newbie
 
Registered: Sep 2005
Distribution: Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by tuxdev View Post
What platform is the uni system? If it's say, Solaris, it could be doing file stuff differently than your local box.
I'm pretty sure it's Gentoo. Here is the uname:

$ uname -a
Linux kenny 2.6.16-2-k7-smp #1 SMP Thu Aug 10 09:52:16 BST 2006 i686 GNU/Linux

Kernel could do with updating.
 
Old 02-19-2009, 11:27 AM   #17
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
See if using readsome() in lieu of get() (in your Reader app) makes a difference.

Code:
...

    char c;
    std::string str;
    while (handle.readsome(&c, 1) > 0)
    {
        str += c;
    }
    std::clog << "Received Message: " << str << std::endl;

...
 
Old 02-19-2009, 11:31 AM   #18
Lorian
LQ Newbie
 
Registered: Sep 2005
Distribution: Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dwhitney67 View Post
See if using readsome() in lieu of get() (in your Reader app) makes a difference.
No change.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstream to FILE* Jacko123 Programming 2 05-22-2007 12:14 PM
fstream issues :( nathacof Programming 8 05-31-2006 07:28 PM
C++ Fstream trouble mrcheesypants Programming 3 04-07-2006 09:31 PM
Mandrake 9.1 & fstream.. The Many Programming 3 02-13-2005 10:02 AM
c++ fstream:: question javakid Programming 2 01-21-2005 01:03 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration