EasyManua.ls Logo

Omron CS1W-ETN01 - Section 6 Socket Services; Socket Services

Omron CS1W-ETN01
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
85
SECTION 6
Socket Services
This section describes the functionality provided by the Ethernet Unit via the socket services.
6-1 Overview 86. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-1 Socket Service Functions 86. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-2 Sockets 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-3 Using Sockets with the Ethernet Unit 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-4 Socket Port Numbers 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-5 Differences between TCP and UDP 88. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-6 Opening TCP Sockets 88. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-7 Fragmentation of Send Data 90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-8 Maximum Transmission Delays 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-9 Precautions in Using Socket Services 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2 Using Socket Services with Socket Service Request Switches 94. . . . . . . . . . . . . . . . . . . . . .
6-2-1 Socket Service Parameters 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-2 Response Codes 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-3 Socket Service Request Switches 103. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-4 UDP/TCP Socket Status 105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-5 Application Procedure 106. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-6 Socket Services and Socket Status 107. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-7 Timing Charts 108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-8 TCP/IP Communications Programming Example 110. . . . . . . . . . . . . . . . . . . . . . . . .
6-2-9 UDP/IP Communications Programming Example 114. . . . . . . . . . . . . . . . . . . . . . . .
6-3 Using Socket Services with CMND(490) 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-1 UDP/TCP Socket Status 120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-2 Socket Services and Socket Status 123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-3 Communications Timing Chart 124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-4 Socket Service Timing Chart 124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-5 TCP/IP Communications Programming Example 126. . . . . . . . . . . . . . . . . . . . . . . . .
6-3-6 UDP/IP Communications Programming Example 133. . . . . . . . . . . . . . . . . . . . . . . .

Table of Contents

Related product manuals