Discussion:
[omniORB] OmniORB Large files transfer
Delyan Nestorov
2007-03-06 14:40:42 UTC
Permalink
Hi,

I am new to CORBA programming. I bought "Advanced CORBA programming in
C++" and read it. But I need help on transfering large (about 100MB)
files with OmniORB. Client and server will communicate via TCP/IP on
local machine or separate machines. And my other question is how to tell
client and server to use TCP and set IP adresses and ports.
--
Delyan Nestorov

AMK "Drives and Controls" Ltd.

E-mail: ***@amk-drives.bg
www.amk-drives.bg
Duncan Grisby
2007-03-09 21:09:51 UTC
Permalink
Post by Delyan Nestorov
I am new to CORBA programming. I bought "Advanced CORBA programming in
C++" and read it. But I need help on transfering large (about 100MB)
files with OmniORB. Client and server will communicate via TCP/IP on
local machine or separate machines. And my other question is how to
tell client and server to use TCP and set IP adresses and ports.
You should send the file contents as sequences of octets. You could send
the whole file in one call, or you might want to split it up. Either way
will work, but splitting it avoids having to hold the whole file in
memory.

The processes will automatically use TCP. Re-read chapter 8 of the
omniORB manual (you have read it once, haven't you? ;-) ) to see how to
configure addresses and ports and so on.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...