When acting as a client (arduino + ethernet shield), are there any libraries that I can use to connect to a server application built using Winsock control in Visual Basic 6.0?
Assuming that there is such a library, how can I define the server port inside the arduino sketch?
IPAddress server(1,2,3,4);
// change this to whatever port you want
int serverPort = 80;
if(client.connect(server,serverPort))
{
Serial.println(F("connected"));
}
edit: Windows is probably going to block your attempt to connect with the server firewall. Insure you allow that port through.