4-4
Programming Samples
Rev. A
/* send data */
send(sock, "EPSON\n", 6, 0);
/* gracefully close */
shutdown(sock, 1);/* SD_SEND */
while (1) {
char buf[64];
int n = recv(sock, buf, 64, 0);
if (n = SOCKET_ERROR || n == 0)
break;
}
shutdown(sock, 2);/* SD_BOTH */
/* close socket */
closesocket(sock);
return 0;
}
Содержание UB-E02
Страница 1: ...UB E02 Technical Reference Guide 10Base T 100Base TX Ethernet Interface board EPSON English 404999001 ...
Страница 2: ......
Страница 4: ...ii Rev A Revision Information Revision Page Altered Items and Contents Rev A ...
Страница 14: ...xii Contents Rev A ...
Страница 26: ...2 10 Installation Rev A ...
Страница 58: ...3 32 Utilities Rev A 3 3 2 11 Advanced Item Explanation Physical Layer Setting Set the communication method ...
Страница 85: ......
Страница 86: ...EPSON SEIKO EPSON CORPORATION Printed in Japan ...