There are infinite possibilities nowadays that you can use to connect a machine to another server (cable or Internet). For the Internet part, it all comes down to the programming language you're using to develop the script. However, I would recommend using the information listed through Google Search on various websites. You will learn different possibilities of linking a client to a server. The available information should give you a straight answer about the possibilities to do it.