fix: Update .gitignore to include .claude and clean up friUdpConnection.cpp code

This commit is contained in:
Даниил Грабарь
2026-05-08 04:17:06 +03:00
parent 225ae50f10
commit 2dfe967ca1
2 changed files with 6 additions and 5 deletions
+1
View File
@@ -5,6 +5,7 @@ build/
.idea .idea
venv venv
.venv .venv
.claude
**.FCBak **.FCBak
@@ -5,10 +5,10 @@ agreement or other license is obtained by KUKA Deutschland GmbH, Augsburg, Germa
SCOPE SCOPE
The software �KUKA Sunrise.Connectivity FRI Client SDK� is targeted to work in The software “KUKA Sunrise.Connectivity FRI Client SDK” is targeted to work in
conjunction with the �KUKA Sunrise.Connectivity FastRobotInterface� toolkit. conjunction with the “KUKA Sunrise.Connectivity FastRobotInterface” toolkit.
In the following, the term �software� refers to all material directly In the following, the term “software” refers to all material directly
belonging to the provided SDK �Software development kit�, particularly source belonging to the provided SDK “Software development kit”, particularly source
code, libraries, binaries, manuals and technical documentation. code, libraries, binaries, manuals and technical documentation.
COPYRIGHT COPYRIGHT
@@ -181,7 +181,7 @@ int UdpConnection::receive(char *buffer, int maxSize)
#else #else
int sockAddrSize; int sockAddrSize;
#endif #endif
sockAddrSize = static_cast<socklen_t>(sizeof(struct sockaddr_in)); sockAddrSize = sizeof(struct sockaddr_in);
/** check for timeout /** check for timeout
Because SO_RCVTIMEO is in Windows not correctly implemented, select is used for the receive time out. Because SO_RCVTIMEO is in Windows not correctly implemented, select is used for the receive time out.
If a timeout greater than 0 is given, wait until the timeout is reached or a message was received. If a timeout greater than 0 is given, wait until the timeout is reached or a message was received.