mcast.h

来自「一个C编写网络广播的程序」· C头文件 代码 · 共 19 行

H
19
字号
/* mcast.h -- multicast socket routines, definitions *   * This file is part of 'netcast' program, released under BSD License.  * (c) 2001-2002 Stanis砤w Pa秌o <staszek@nutki.com>. All rights reserved.    */#ifndef _MDIST_MCAST_H#define _MDIST_MCAST_H#define MCAST_DPORT DEF_PORT#define MCAST_TTL 8#define MCAST_LOOP 1#define MCAST_ADDR_BASE "224.0.0."int init_mcast_socket(struct sockaddr_in *gs);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?