Hi! I need help with something...
I need to make a client/server application that simulates a simple electronic messaging system. The users of this system have adresses of the type name@domain. The names of the domains will be known in advance and published on a website.
Each domain possesses a MHS server (Message Handling System) that plays the role of relaying incoming and outcoming messages. Each user has a client named UA (User Agent). The MHS is responsible for the message reception coming from other MHS and responds to the requests of the UA for sending and recieving the messages of the users. To contact a MHS, we must consult the website to know the port name and the domain. The UA can send, receive and get the list of messages destined to him from the MHS.
Does anyone have any C code example or any guidelines to help me resolve this? Is there an existent C code of a similar application (simple). I would appreciate it a lot as I have no clue what to do at this point. I'm not familiar with C langage and I have never done anything similar to such an application. I don't know where to begin.
Thank you!