LAN Game Networking

I have decided to do the Online feature and give up on LAN Play but I have no idea where to begin. I guess I would need to set up some kind of web server to handle logging on and showing available players but I have no idea what I need or how to do it.

This is a turn-based TCG game where each player takes a turn with the possibility of the opposing player countering the turn player’s actions. I don’t think I would need anything too complex as this is not a first person shooting where time is of the essence.

Does anyone know where I should begin and maybe have some sample code for me to look at as I learn best from example?