LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-11-2002, 08:09 AM   #1
Hano
Member
 
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196

Rep: Reputation: 30
what is the equivalent of ofstream & ifstream on network communication?


Hi,

what is the most like equivalent of iofstream functions for:

1 to shared memory (for interproccess communications)
2 network (between processes on diferent processors across a LAN / cluster )
 
Old 04-19-2002, 01:10 PM   #2
barazor
Member
 
Registered: Dec 2001
Distribution: slack 9.1
Posts: 44

Rep: Reputation: 15
my guess is that you would have to write those yourself. ifstream and ofstream are part of the C++ standard library, and the standard library tends to not have functions and classes that would depend on the operating system(im guessing)
 
Old 04-19-2002, 01:42 PM   #3
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Java http://java.sun.com is great language for writing programs that use multiple threads and communicate over the network (via sockets). Plus, the "write once, run anywhere" concept allows you to run your programs on multiple operating systems and hardware.

Java has two complementary classes called InputStream and OutputStream. You can use these to move data from place to another , such as through network sockets.

Last edited by zmedico; 04-21-2002 at 01:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pilot-link & Tungsten communication problems everbloom Linux - Hardware 4 08-27-2005 03:56 PM
Problems with ifstream/ofstream kornerr Programming 2 07-04-2005 11:31 AM
openssl is for communication b/w computers on the network. abdullahgee Linux - Networking 1 06-04-2004 07:04 PM
Slackware equivalent of Debian's modconf & rcconf? johnMG Slackware 4 09-26-2003 10:37 PM
Crontab 3 vs java 1.4.2 & socket-communication P-hier Linux - Networking 0 07-18-2003 02:14 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration