c# - file transfer - using sockets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prognoob
    New Member
    • Apr 2007
    • 15

    #1

    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
  • prognoob
    New Member
    • Apr 2007
    • 15

    #2
    is my question clear?

    Comment

    • nareshsatya
      New Member
      • Aug 2007
      • 1

      #3
      Hi......... This Is............. ....how To Convert Filestream To Bytestream Using C#.net

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        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.

        Comment

        Working...