WIP, rxhostname

This commit is contained in:
2020-04-20 18:33:14 +02:00
parent 1d31695cc1
commit 601be462af
11 changed files with 232 additions and 163 deletions

View File

@ -6863,6 +6863,16 @@ int get_receiver_parameters(int file_des) {
n += sendData(file_des, hostname, MAX_STR_LENGTH, OTHER);
if (n < 0) return printSocketReadError();
}
// primary interface
{
char c = '0';
n += sendData(file_des, &c, 1, OTHER);
if (n < 0) return printSocketReadError();
}
// zmq ip
i32 = 0;
n += sendData(file_des,&i32,sizeof(i32),INT32);
if (n < 0) return printSocketReadError();
// end of shared memory variables in struct