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

📄 tcpip.searchresults

📁 c51和8019实现单片机上网
💻 SEARCHRESULTS
字号:
---- connect Matches (48 in 5 files) ----
Http.c:// These structures keep track of connection information
Http.c:extern CONNECTION xdata conxn[];
Http.c:// With HTTP 1.1 where the connection is left open, the header I send
Http.c:// connection after sending the page and the browser knows its done. 
Http.c:	// Make sure this is a valid connection
Http.c:	if (nr == NO_CONNECTION) return 0;
Net.h:} CONNECTION;
Tcp.c:// A "connection" is a unique combination of 4 items:  His IP address,
Tcp.c:// These structures keep track of connection information
Tcp.c:CONNECTION xdata conxn[5];
Tcp.c:   // If no connection, then message is probably a reset
Tcp.c:   // Otherwise, use information from the connection.
Tcp.c:   if (nr == NO_CONNECTION)
Tcp.c:      // This message is to connected port
Tcp.c:// hanging around eating up RAM.  A connection should not be in an
Tcp.c://	If a connection is in the ESTABLISHED state when the timer expires
Tcp.c:   // Scan through all active connections 
Tcp.c:            // something is amiss so send reset and close connection
Tcp.c:               // Send reset and close connection
Tcp.c:                  // Send reset and close connection
Tcp.c:							// Send reset and close connection
Tcp.c:// This runs every 0.5 seconds.  If the connection has had no activity
Tcp.c:// it initiates closing the connection.
Tcp.c:   // Look for active connections in the established state
Tcp.c:            // Initiate close of connection
Tcp.c:      tcp_send(FLG_RST, 20, NO_CONNECTION);
Tcp.c:   // connected to. 
Tcp.c:   // If i = 5, we are not connected. If it is a SYN then assign
Tcp.c:         // Find first unused connection (one with IP = 0) 
Tcp.c:               // Initialize new connection
Tcp.c:         // If all connections are used then drop msg
Tcp.c:            serial_send("TCP: New connection ");
Tcp.c:   // By now we should have a connection number in range of 0-4
Tcp.c:		tcp_send(FLG_RST, 20, NO_CONNECTION);
Tcp.c:      // connection
Tcp.c:	   // A SYN segment only makes sense if connection is in LISTEN 
Tcp.c:		  	tcp_send(FLG_RST, 20, NO_CONNECTION);
Tcp.c:   // Handle TCP state machine for this connection
Tcp.c:         // Fill in connection information
Tcp.c:         tcp_send(FLG_RST, 20, NO_CONNECTION);   
Tcp.c:         // If he has ACK'd my FIN then we can close connection
Tcp.c:         	conxn[nr].ipaddr = 0;  // Free up connection
Tcp.c:         serial_send("TCP: Closed connection ");
Tcp.h:#define NO_CONNECTION  			5 
Webdoc1.c:// length, needed because in HTTP 1.1 we leave connection open
Webdoc1.c:"Connection: Keep-Alive\n"
Webdoc1.c:// length, needed because in HTTP 1.1 we leave connection open
Webdoc1.c:"Connection: Keep-Alive\n"

⌨️ 快捷键说明

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