How do I use socket commands to make my own irc server?
I'm trying to program a mirc script and I want to add socket
connection.

The script is made to let the person email people from mirc.
My friend made one but I'm not sure how to make my own.
Also he's moved and I don't know how to contact him either.