Skip to content

Commit 81536ab

Browse files
authored
Update UDP.hpp
Remove Duplicate int yes = 1
1 parent b3494c6 commit 81536ab

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/dsl/word/emit/UDP.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ namespace dsl {
163163
}
164164

165165
// Assume that if the user is sending a broadcast they want to enable broadcasting
166-
int yes = 1;
167166
if (::setsockopt(fd, SOL_SOCKET, SO_BROADCAST, reinterpret_cast<const char*>(&yes), sizeof(yes))
168167
< 0) {
169168
throw std::system_error(network_errno,

0 commit comments

Comments
 (0)