Forum Discussion
Altera_Forum
Honored Contributor
19 years agoprintf's problem under uclinux
I wrote a socket program like below:# include <sys/types.h># include <sys/socket.h># include <sys/ioctl.h># include <sys/time.h># include <netinet/in.h># include <arpa/inet.h># include <netdb.h># inc...
Altera_Forum
Honored Contributor
19 years agoby the way
sin.sin_addr.s_addr=htonl("192.168.135.99"); cannot work. replace it: sin.sin_addr.s_addr=inet_addr("192.168.135.99"); there are tons of examples in the internet....