Since sockets are designed to communicate through a network anyways, using sockets with the local computer will make it easy to expand to multiple nodes in the future.