网络编程学习笔记 server: create socket -> bind port -> listen (accept -> send, recv) -> end; client: create socket -> connect socket (send, recv) -> end;