⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unix_socket.h.svn-base

📁 SDP文件解析代码
💻 SVN-BASE
字号:
/* *       CMMB Demuxer Code for Stimi Module * ================================================================== *        Version:  1.0 *        Created:  2007年09月08日 xx时xx分xx秒 CST *       Compiler:  gcc *         Author:  kf701 (linux), kf701.ye AT gmail.com *        Company:  CodeRepertory *      CopyRight:  Copyright (c) 2007 kf701 *        SVNinfo:  $Id: unix_socket.h 105 2007-11-10 10:30:30Z kf701 $ * ================================================================== */#ifndef _UNIX_SOCKET_H_#define _UNIX_SOCKET_H_#include <stdint.h>#include <stdbool.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <unistd.h>#include <netdb.h>void setnonblocking(int fd);/* unix socket */int unix_socket_new(void);void unix_socket_free(int sockfd);int32_t unix_socket_send(int sockfd , const char *to_path, const char *data, uint32_t size);int unix_socket_new_listen(const char *unix_path);typedef void(*un_data_func)(uint8_t*, int);void unix_socket_server( const char *unix_path, uint32_t psize, un_data_func func);#endif

⌨️ 快捷键说明

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