Linux下UDP Socket编程实例

server.cweb #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <string.h> #include <arpa/inet.h> #include <netinet/in.h> int main(int argc, char **argv) { int fd = socket(AF_
相关文章
相关标签/搜索