|
-
Dec 25th, 2000, 03:36 AM
#1
Thread Starter
New Member
I am very new to using the winsock control. What I
want to know is if there is a way to send whole files
using the control and if so, how do you do this?
-
Dec 26th, 2000, 07:49 AM
#2
Lively Member
if you can send strings (bits and bytes)
there's no reason why you can't send files.
firstly, make sure you use the TCP protocol because
it's much "safer" for files than UDP.
i think there's an article in this vb-world about it,
so you can copy-paste already written code.
the idea is to read the file,
send the data by blocks (or byte by byte if you insist),
and construct it again on the other side.
itay.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|