Ok, how would I connect to MY IP address? I tried this:
if(connect(sockfd, (struct sockaddr *)&my_addr, sizeof(struct sockaddr))==-1)
{
MessageBox(hwnd, "Error connecting", "Error", MB_OK + MB_ICONERROR);
}
And it won't connect, cause it comes up with my error message. How would I connect to my own COMP?