mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 07:40:03 +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);
|
||||
}
|
||||
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
|
||||
}
|
||||
nsent = recvfrom(socketDescriptor,(char*)buf+total_sent,nsending, 0, (struct sockaddr *) &clientAddress, &clientAddress_length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user