Forum Discussion
Altera_Forum
Honored Contributor
15 years agoData send thru ethernet
Hello, I am trying to do a simple task: I will form an UDP packet in hardware, then I want to move it to Nios, add IP header and send to ethernet. I will split my problem into two parts: ...
Altera_Forum
Honored Contributor
15 years agoUse sendto() function. For instance,
l = sendto(conn->fd, data, pkgLth, 0,(struct sockaddr *)&cliaddr,nLen); By the by can you tell me how you move the data from hardware to Nios processor? Jacky