Forum Discussion
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....by 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....