|
|
|
|||||
|
Newbie question about sending data
Good day, all!
I have one newbie question. There is a task - to send a file (for example, any file in binary mode) from client to server. How it can be done? From where I must start to work? What section of documentation can help me to solve this task? Thanks a lot. Alexander |
|
||||||
|
You are correct that IcePatch2 transfers files from the server to a client, but the technique it uses to transfer the file is applicable regardless of the direction in which the file is sent.
Take care, - Mark |
|
|||||
|
Oh, ok. I will teach it tomorrow.
And my search in forum archive gave me next links: How can I develop a File transfer application?question 1 What is better to use: sequence or IcePatch2? (i don't want to reinventing a wheel) |
|
||||||
|
IcePatch2 probably isn't an appropriate solution if you are sending files from a client to a server. However, reading the IcePatch2 sources should be helpful as you implement your application.
Good luck, - Mark |
|
|||||
|
I have one new question: can I call a function which realized on client without using some server part on a client side?
In detail: client call thrue proxy a function on server and give for him a proxy to function (ClientFunc* func) in parameter. After that server must call received function on client. Еhere is no need to use asynchronous working. How it can be done? |
|
||||||
|
Yes, you can do this. The callback example in demo/Ice/callback demonstrates how to do this. Note that this example requires that the server establish a new connection back to the client. An alternative is to use a bidirectional connection, which is shown by the example in demo/Ice/bidir.
Good luck, - Mark |
|
||||||
|
Quote:
- Mark |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| computation server (newbie question) | rlimberger | Help Center | 1 | 02-21-2007 08:46 PM |
| Question about sending large data. | JaneShang | Help Center | 3 | 10-14-2005 01:25 PM |
| A unsure question about getting data | laotee | Help Center | 9 | 09-22-2005 12:00 PM |
| A question about getting data | laotee | Help Center | 4 | 09-20-2005 09:29 AM |
| Ice newbie question | ruzark | Help Center | 1 | 11-30-2004 03:11 PM |