Socket Services - Omron CS1W-ETN11 Operation Manual

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

This section describes the functionality provided by the Ethernet Unit via the socket services.
6-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-1
Socket Service Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-2
Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-3
Using Sockets with the Ethernet Unit. . . . . . . . . . . . . . . . . . . . . . . .
6-1-4
Socket Port Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-5
Differences between TCP and UDP . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-6
Opening TCP Sockets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-7
Fragmentation of Send Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-8
Maximum Transmission Delays . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-9
Precautions in Using Socket Services. . . . . . . . . . . . . . . . . . . . . . . .
6-2
6-2-1
Socket Service Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-2
Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-3
Socket Service Request Switches . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-4
UDP/TCP Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-5
Application Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-6
Socket Services and Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-7
Timing Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-8
TCP/IP Communications Programming Example . . . . . . . . . . . . . .
6-2-9
UDP/IP Communications Programming Example . . . . . . . . . . . . . .
6-3
Using Socket Services with CMND(490) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-1
UDP/TCP Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-2
Socket Services and Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-3
Communications Timing Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-4
Socket Service Timing Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-5
TCP/IP Communications Programming Example . . . . . . . . . . . . . .
6-3-6
UDP/IP Communications Programming Example . . . . . . . . . . . . . .
SECTION 6

Socket Services

104
104
105
105
105
106
107
108
110
111
112
114
117
122
125
126
127
128
130
134
139
140
143
144
144
146
153
103

Advertisement

Table of Contents
loading

Table of Contents