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 ) |
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)
|
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. |
All times are GMT -5. The time now is 10:20 PM. |