Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- If you are wanting to send UDP messages, then you need to change your type to SOCK_DGRAM and the protocol (last parameter) to IPPROTO_UDP in your socket call. Once you have the type and protocol set for UDP, then your recvfrom() call should block until data is ready on the fd. --- Quote End --- Thank you lornewellington can you please give us more details how to implement an UDP application ? what I have to change ? only the simple_socket_server.c file ? and what can of trandfert can be done with the udp ? many thanks in advance