I have a problem, I am very bad at programming and have a UDP client to write.
The client software should take the IP address and port number of the server it is talking to (poss on command line).
* It reads a line of text from standard input,
* sends this text in a UDP datagram to the server,
* waits for a UDP datagram in response,
* and then prints the text on standard output, prepended with the server's socket address (from the incoming datagram).
The process is repeated until EOF is detected on standard input.
If anyone can offer any help I would appreciate it.