View Single Post
Old 10-24-2004, 10:37 AM   #2 (permalink)
freesoft_2000
Code Monkey
 
Join Date: Oct 2004
Posts: 51
freesoft_2000 is on a distinguished road
hi eveyone,
I once did this but it did not involve corba. Basically what i used was more of sockets. First you have to create your own data packet system.

Example:

byte b = -1;
writeBoolean(true);// This how the client will know it receive
// something
write(yourdata);

writeByte(-1); // This is how the client will know when to stop
// reading in the data. You can use write writeBoolean
// if you like as well.

Now what happens is this is the structure of your data packet.
[boolean] + [yourdata] + [byte or boolean]

what i showed you is extremely simple and you can incorporate any other function structure if you like. What i showed is the server side but the client side is the opposite.

Did you understand what i explained?

If not post any other questions you have here again

Yours Sincerely

Richard West
freesoft_2000 is offline   Reply With Quote