I want to use an Arduino + ENC28J60-EtherShield as a IRC client but all I found were only http-server/client libraries/examples. I'm looking for something that could be used like this:
new client();
client.fsockopen( IP, Port);
while (true) {
client.print("foo");
if (client.available()) {
client.read();
}
// don't close the connection
}
This library looks promising but it doesn't support client connections yet.
I can't imagine that I'm the first one looking for a useable library with a fsockopen() method. Where can I find one? Or do I really have to implement it on my own (which would take a couple of days for sure as I dont have any experience in tcp stacks) or get myself a Wiznet Ethernet Shield?