就记个录

    struct socket {
        socket_state            state;
        unsigned long           flags;
        const struct proto_ops *ops;
        struct fasync_struct    *fasync_list;
        struct file             *file;
        struct sock             *sk;
        wait_queue_head_t       wait;
        short                   type;
    };

    仅仅用来记录socket结构的内容。

你可能感兴趣的:(C++,c,socket,C#)