we are developing a client server for messaging. need to implement a client in C for the WallServer (written in java). you will use the socket API. you can find a very big example of how to use the API in man 3 getaddrinfo. this shows using the UDP (SOCK_DGRAM) protocol, the WallServer uses TCP (SOCK_STREAM).