Forum Discussion
Altera_Forum
Honored Contributor
19 years agoProblem with a small network program
Dear everyone: I'm learning uClinux network programming. After download the kernel and filesystem to the board successfully, Now I am trying to run a small server and client program, but ...
Altera_Forum
Honored Contributor
19 years agoyou should check the return values of each function.
try serveraddr.sin_addr.s_addr = htonl(INADDR_ANY); without htonl just INADDR_ANY. <div class='quotetop'>QUOTE </div> --- Quote Start --- Is the driver for the network is necessary[/b] --- Quote End --- drivers are necessary