Forum Discussion
Altera_Forum
Honored Contributor
15 years agoWORKING: DE2-115 Simple Socket Server
Hi, It seems difficult to get help on these forums so I want to pass on what i learnt for others. I've struggled to learn FPGAs over the past few weeks and I have finally got a simple socket s...
Altera_Forum
Honored Contributor
14 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