0

我想在 TCP 之上构建一个传输协议,以便在两台计算机之间发送某种类型的文件。我想知道是否有任何资源、开源项目或书籍可以让我了解我应该做什么。

4

1 回答 1

1

A good place to start would be the W3C HTTP/1.1 standard or the HTTP/1.0 standard if you want to implement something simple. You probably only need to implement the GET verb if you just wan't simple I/O. You could also look at implementing JSON as a data interchange format. If you're looking for information on how to implement a TCP/IP server too, then there are several books on the subject.

于 2013-06-29T05:04:42.887 回答