mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 09:10:01 +02:00
trying
This commit is contained in:
parent
e3455fe1ff
commit
cc2346be67
@ -621,7 +621,7 @@ enum communicationProtocol{
|
|||||||
cprintf(BLUE,"will read %d\n",nsending);
|
cprintf(BLUE,"will read %d\n",nsending);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
cprintf(BG_RED,"should not have been here length:%d packet_size:%d !!\n");
|
cprintf(BG_RED,"should not have been here length:%d packet_size:%d !!\n",length, packet_size);
|
||||||
nsending = (length>packet_size) ? packet_size:length; //works for eiger to get packets to discard image header packets
|
nsending = (length>packet_size) ? packet_size:length; //works for eiger to get packets to discard image header packets
|
||||||
}
|
}
|
||||||
nsent = recvfrom(socketDescriptor,(char*)buf+total_sent,nsending, 0, (struct sockaddr *) &clientAddress, &clientAddress_length);
|
nsent = recvfrom(socketDescriptor,(char*)buf+total_sent,nsending, 0, (struct sockaddr *) &clientAddress, &clientAddress_length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user