send multiple file over TCP with C# using TcpClient

后端 未结 3 603
醉梦人生
醉梦人生 2021-01-28 11:25

I\'m trying to send multiple files over TCP using C# TcpClient, for a single file it works great, but when I have multiple files, it sends only the first one.

Here is my

3条回答
  •  鱼传尺愫
    2021-01-28 11:53

    Short answer for this is, do it like ping-pong, send first file, let client reply, send again another file, let client reply and so-on.

提交回复
热议问题