Implement a TCP socket communication in the base driver. Here is the TCP guide: https://beej.us/guide/bgnet/pdf/bgnet_a4_c_1.pdf
Also refer to the UML diagram for more info: https://docs.google.com/document/d/1vo7DInRg2Fr2EhgT9SCHWjGNS2cD770kVolbShhcOKo/edit?tab=t.0
Requirements:
Base Driver shall instantiate a client socket with localhost ip and port in the constructor
Base Driver shall have the socket connected in the constructor and return the connection ACK
Base Driver shall have socket send and receive
Implement a TCP socket communication in the base driver. Here is the TCP guide: https://beej.us/guide/bgnet/pdf/bgnet_a4_c_1.pdf
Also refer to the UML diagram for more info: https://docs.google.com/document/d/1vo7DInRg2Fr2EhgT9SCHWjGNS2cD770kVolbShhcOKo/edit?tab=t.0
Requirements:
Base Driver shall instantiate a client socket with localhost ip and port in the constructor
Base Driver shall have the socket connected in the constructor and return the connection ACK
Base Driver shall have socket send and receive