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

📄 socket_message_type.h

📁 程序实现了在ip协议之上加一层RUDP协议
💻 H
字号:
#define   DEVICE_SYSTEM     					800  // control message
#define   DEVICE_TRANSMIT 						802  // data message


#define  App_Receive_Success 				  803  // application layer receives packet successful and notify socket layer
#define  App_Send_Success 						804  // socket send packet successfully and notify this message to app
#define  App_Send_Failure 						805  // socket fail in send packet and notify this message to app
#define  App_Request_Conn_Failure 		806  // socket notify app connection request failure
#define  App_Connected_Notify 				807  // socket notify app connection request success
#define  App_Request_Conn             808  // app notify socket wanna connect to the peer side


#define  Socket_Buff_Full 					  809
#define  Socket_Buff_Enough 				  810
#define  Socket_Link_Lost      			  811  //socket can not send packet successfully then notify upper this message
#define  Socket_Buff_Half      			  812
#define  Socket_Buff_Not_Enough 		  813
#define  Socket_Receive_packet 			  814  // socket notify app packet has been received
#define  Socket_Connected_Notify 		  815  // user has logined, and notify upper


#define  MDOT_Receive_Success  			  816  // mdot layer receives packet successful and notify socket layer
#define  MDOT_Send_Success     			  817  // socket send packet successfully and notify this message to mdot
#define  MDOT_Send_Failure     			  818  // socket fail in send packet and notify this message to mdot
#define  MDOT_Send_Packet     			  819  // send packet
#define  MDOT_Receive_Packet  			  820  // receive packet


#define  Mpak_Send_Success    			  821  // mdot send packet successfully and notify this message to mpak
#define  MPaK_Complete_Packet  			  822  // mpak notify mdot packet has been hanlered  
#define  Mpak_Send_Failure     			  823  // mdot send packet failuerly and notify this message to mpak  
#define  Mpak_send_packet      			  824  // mpak notify mdot there is a packet to be sended

#define  Ack                          825  // socket notify the peer side with ack
#define  Nack                         826  // socket notify the peer side with nack
#define  User_Login 							    827  // socket notify the peer side there is a user wanna login
#define  Login_Success                828  // socket notify the peer side user's login request successful
#define  Login_Failure                829  // socket notify the peer side user's login request failed



⌨️ 快捷键说明

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