![]() ![]() `forum_last_post_subject` = '$forum_titel' `forum_last_poster_id` = '$forum_userid', `forum_last_poster_name` = '$forum_name', ![]() `forum_topics_real` = `forum_topics_real`+1, $sql = "INSERT INTO `phpbb_topics_posted` SET `user_posts` = `user_posts`+1 WHERE `user_id` = '$forum_userid'" `topic_first_post_id`= '$forum_post_id', `topic_last_post_id`= '$forum_post_id' $forum_post_id = str_replace('Resource id #','',mysql_insert_id()) #2) create new post, determine auto-increment post_id $forum_topic_id = str_replace('Resource id #','',mysql_insert_id()) (`forum_id`, `topic_title`, `topic_poster`, `topic_time`, `topic_first_poster_name`, `topic_last_poster_id`, `topic_last_poster_name`, `topic_last_post_time`, `topic_last_view_time`) #1) create new topic, determine auto-increment topic_id It also supports Subnetwork Access Protocol (SNAP) encapsulation, which extends the IEEE 802.2 headers by providing a type code similar to that defined in the Ethernet specification.# $forum_text / $forum_titel / $forum_forumid / $forum_userid / $forum_time = time() / $forum_name / Note NetWare 4.0 supports encapsulation of IPX packets in standard IEEE 802.3 frames. Figure 8-3 illustrates Ethernet, standard IEEE 802.3, and IPX encapsulation. From the standpoint of routing, the encapsulation mechanisms of these two protocols are the most important difference.Įncapsulation is the process of packaging upper-layer protocol information and data into a frame.įor Ethernet, XNS uses standard Ethernet encapsulation, whereas IPX packets are encapsulated inĮthernet Version 2.0 or IEEE 802.3 without the IEEE 802.2 information that typically accompanies these frames. Upper-layer data-Contains information for upper-layer processes.Īlthough IPX was derived from XNS, it has several unique features.Source network, source node, and source socket-Specify source information.Destination network, destination node, and destination socket-Specify destination information.Two common values for this field are 5, which specifies Sequenced Packet Exchange (SPX), and 17, which specifies the NetWare Core Protocol (NCP). Packet type-An 8-bit field that specifies the upper-layer protocol to receive the packet's information.When the value of this field reaches 15, the packet is discarded under the assumption that a routing loop might be occurring. Transport control-An 8-bit field that indicates the number of routers the packet has passed through.IPX packets can be any length up to the media maximum transmission unit (MTU) size. Packet length-A 16-bit field that specifies the length, in bytes, of the complete IPX datagram.Checksum-A 16-bit field that is set to ones.The fields of the IPX packet are as follows: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |