Namespaces | Functions
modbus_check_ip_connection.cpp File Reference
#include <cstring>
#include <chrono>
#include <thread>
#include <fcntl.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <prbt_hardware_support/modbus_check_ip_connection.h>
Include dependency graph for modbus_check_ip_connection.cpp:

Go to the source code of this file.

Namespaces

 prbt_hardware_support
 

Functions

bool prbt_hardware_support::checkIPConnection (const char *ip, const unsigned int &port)
 Test the ip connection by connecting to the modbus server. More...
 
bool prbt_hardware_support::hasSocketPendingErrors (const int &sockfd)
 
sockaddr_in prbt_hardware_support::initSockAddrIn (const char *ip, const unsigned int &port)
 
timeval prbt_hardware_support::initTimeout (const unsigned int &secs, const unsigned int &usecs)
 
bool prbt_hardware_support::isSocketReadyForWriteOp (const int &sockfd)
 
void prbt_hardware_support::setConnectionToNonBlocking (const int &sockfd)
 


prbt_hardware_support
Author(s):
autogenerated on Thu Sep 10 2020 03:14:36