Epson V7 사용자 설명서

다운로드
페이지 344
4-42 
1. Ethernet
Request Connection Information
int HKEtn_GetInf(struct inf *lpinf,char *lpAddr)
• Parameters
*Ipinf
All “0”
*lpAddr
IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success
TRUE
Failure
FALSE
Error details
Get using HKEtn_GetLastError ().
Close processing
int HKEtn_Close()
Execute this function when ending HKEtn10.dll.
Get Source’s IP Address
int HKEtn_GetSinAddr(char *lpAddr)
Execute this function after the recvfrom() function or receiving the data.