Leser: 1
|< 1 2 3 >| | 22 Einträge, 3 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
string ConfigString = "Type=PEP\nName=LHVDUSTO\nRID=0x31\n";
ConfigString += "SID=0x53\nServer=57.20.55.123\n";
ConfigString += "OpenTimeout=10000\n";
VIA::CTerm * UTS = VIA::CreateTerm(ConfigString.c_str());
if (UTS != NULL)
{
if (UTS->Open() == 0)
{
if (UTS->SR("DA") == 0) // SR = Send/Receive
{
printf(UTS->GetBuffer());
}
UTS->Close();
}
VIA::DeleteTerm(UTS);
}
|< 1 2 3 >| | 22 Einträge, 3 Seiten |