469,592 Members | 2,030 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

c# - file transfer - using sockets

I need help coding a file transfer in C#. It would be over TCP/IP using sockets...
most of the solutions i have come across, they use networkstream
and i have read online that there is no need to use networkstream with c# sockets... so how do I do it?
also, do I need to worry about serialization/deserialization?
any help would be greatly appreciated
Aug 28 '07 #1
3 3155
is my question clear?
Aug 29 '07 #2
Hi......... This Is.................how To Convert Filestream To Bytestream Using C#.net
Aug 29 '07 #3
Plater
7,872 Expert 4TB
Well, what is your trouble then?

Create your server/client programs using the Socket object (instead of TcpClient and TcpListener) and then read and write using the Send() and Receive() functions on the socket.
Aug 29 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by clintonG | last post: by
11 posts views Thread by Abhishek | last post: by
3 posts views Thread by Papanii | last post: by
2 posts views Thread by Joe_Black | last post: by
2 posts views Thread by Pramod | last post: by
10 posts views Thread by David | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.