I am writing a simple application on C6678 which interacts with PC through a TCP IP socket. While creating a socket, socket API is returning with -1 whereas UDP socket creation succeeds. Can anybody help me out in resolving this problem. Am I missing any initialization code specific to TCP.
PS: My network initialization code is same as present in the hua demo example present in the MCSDK installation directory.
Thanks in advance and regards,
Shivakumar