im_receive_buffer
4-37
4
Notes
This function does not return until an end of message, a buffer is full, a
timeout occurs or an error occurs. If no EOM character is defined, the
function returns after a character is received.
See Also
im_receive_field, im_transmit_buffer
Example
/********************* im_receive_buffer *****************************/
#include <string.h>
#include <conio.h>
#include "stdio.h"
#include "im209x.h"
void main ( void )
{
char szRxBuffer[1024];
IM_STATUS iStatus;
IM_USHORT iCommLength;
im_clear_screen();
iStatus = im_receive_buffer ( IM_NETUDP, 1024, szRxBuffer, 10000L, &iCommLength );
if(iStatus == IM_SUCCESS)
printf("\nData Receive: %s, Length: %u\n", szRxBuffer, iCommLength);
else
{
printf("\nReceive Buffer Err:\nStatus Code#: %x\n", iStatus);
im_message(iStatus);
}
getch();
}
Содержание Trakker T2090
Страница 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Страница 4: ......
Страница 14: ......
Страница 19: ...Getting Started 1 ...
Страница 20: ......
Страница 33: ...User Interface 2 ...
Страница 34: ......
Страница 55: ...Application Development 3 ...
Страница 56: ......
Страница 61: ...Application Functions 4 ...
Страница 62: ......
Страница 127: ...Reader Command Reference 5 ...
Страница 128: ......
Страница 145: ...Configuration Command Reference 6 ...
Страница 146: ......
Страница 187: ...BIOS Support 7 ...
Страница 188: ......
Страница 205: ...Hardware Specifications 8 ...
Страница 206: ......
Страница 212: ......
Страница 213: ...Demo Software A ...
Страница 214: ......
Страница 230: ......
Страница 231: ...Microsoft Visual C C Settings B ...
Страница 232: ......
Страница 234: ...TRAKKER T2090 Hand Held Batch Computer User s Manual B 4 Compiler Options Code Generation Select CPU 80186 80188 ...
Страница 237: ...Full ASCII Charts C ...
Страница 238: ......