Lines Matching refs:error
77 return Result::error("Socket already open"); in open()
81 return Result::error("Failed to open socket: %s", strerror(errno)); in open()
88 return Result::error("Socket not open"); in bind()
95 return Result::error("Unable to bind raw socket: %s", strerror(errno)); in bind()
126 return Result::error("Socket not open"); in sendOnInterface()
161 return Result::error("Failed to send packet: %s", strerror(errno)); in sendOnInterface()
229 return Result::error("Failed to send message: %s", strerror(errno)); in sendRawUdp()
249 return Result::error("Error receiving on socket: %s", strerror(errno)); in receiveFromInterface()
283 return Result::error("Unable to read from socket: %s", strerror(errno)); in receiveRawUdp()
301 return Result::error("Socket not open"); in enableOption()
311 return Result::error("Failed to set socket option: %s", in enableOption()