File transfer from desktop machine to PDA using TCP-IP protocols

A

anujithsankar

Hi All,

I am trying to pass a text file from desktop machine to PDA thro TCP-
IP protocols. It follows Server (on desktop machine) and Client (on
pda) architecture. File is converted to bytes and will be pushed to
network stream. The client on PDA will receive the bytes and store it
on queue and writes the file on PDA. The operation is accomplished
through threads on both Server and client. Applications are developed
on MS Visual Studio 2005 (C#).

For large files like 1024 KB or having lines about 15000, it takes
around 15 minutes. Can anyone give a better idea to transmit files
from desktop machine to PDA using TCP-IP protocols.

Thanks in advance



Boss
 
G

Guest

1024 is a very long time for 1024 K. Try using The TCPClient class on the
pda and the TCPServer class on the desktop. You can retrieve the streams
from the classes and then use async communication to send and receive the
data.

Rick D.
Contractor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top