Serial To Network (Industrial Gateway) RS422: RS422 wikipedia RS485: RS485 wikipedia RS-485 Serial Interface Explained RS485 socker programming with c geeksforgeeks