Is it possible to launch multiple clients at single machine?

I want to test some network features of my script, so I need atleast two players connected.
Is it possible to do so at signle machine?