摘要:
一、服务端 1、创建套接字: int socket(int domain, int type, int protocol); domain:指定协议族,通常选用AF_INET。 type:指定socket类型,TCP通信下使用SOCK_STREAM。 protocol:指定协议,通常为0。 返回值: 阅读全文
摘要:
题目来源:https://leetcode-cn.com/problems/print-in-order/ 我们提供了一个类: public class Foo { public void one() { print("one"); } public void two() { print("two" 阅读全文