SENA HD132x Series User Manual
Page 43

HD132x Series User Manual
43
Character strings that you entered will be displayed as received data on the sample program,
and, since the sample program is programmed to send received data back to the HelloDevice,
the serial terminal program will again display the character strings.
Figure 5.9 Running the Sample Program
Below is a major part of the sample program. Characters in bold font indicate main functions of the
server socket such as listen, bind, accept, socket, recv and sendto. Since this sample is related to
the server socket, keep in mind that this is different from the sample of 5.2.1 such as socket
generation and data transmission.
//----------------------------------------
// Process listening : ProcessRecv called
//----------------------------------------
void ProcessListen()
{
int clientLen;
char chDumm;
clientLen = sizeof(addrClient);
memset((char*) &addrClient, 0, sizeof(addrClient));
- Parani-ESD100-110-200-210 (56 pages)
- HD1300 (36 pages)
- Parani-SD1000 (60 pages)
- Rhio232 (76 pages)
- Parani-UD100 (26 pages)
- Parani-UD100 (27 pages)
- ProBee-ZE10 (101 pages)
- ProBee-ZS10 (76 pages)
- Parani-MSP100 (73 pages)
- Rhio10 (99 pages)
- UPSLink100 (54 pages)
- Parani100 (69 pages)
- PS810 (110 pages)
- HD1100 (40 pages)
- PS210W (104 pages)
- LS100W (50 pages)
- Parani-BCD100 (22 pages)
- ProBee-ZU10 (69 pages)
- Parani-SD1100 (53 pages)
- ProBee-ZE20S (102 pages)
- Parani-SD200L (46 pages)
- Parani-SD100-200 (50 pages)
- Parani-SD1000U (49 pages)
- Parani-BCD110 (65 pages)
- Parani10 (52 pages)
- Parani-BCD110V3 (85 pages)
- Device Server and Serial_IP Application Guide (26 pages)
- NEMO10-SK (54 pages)
- STS Series (131 pages)
- HelloDevice UniversalComm (13 pages)
- LS110 (66 pages)
- ProBee-ZE20S-SEME (118 pages)
- ProBee-ZE20S-HAOL (95 pages)
- Promi-ESD02 (63 pages)
- Promi-MSP Quick Install (9 pages)
- HD1200 (53 pages)
- PS400 (68 pages)
- Serial_IPTM Redirector 4.3 (84 pages)
- Promi-MSP User Guide (73 pages)
- LS100 (48 pages)
- LS100M-SK (48 pages)
- DirectPort UPCI (20 pages)
- Parani-BCD110-210 (71 pages)
- Parani-ESD100V2-110V2 (61 pages)