# Need Socket Help

**URL:** <https://forum.kirupa.com/t/need-socket-help/175820>\
**Category:** web dev\
**Created:** [January 18, 2006, 2:36am UTC](https://forum.kirupa.com/t/need-socket-help/175820 "2006-01-18T02:36:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lord\_Rahl](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@Lord\_Rahl](https://forum.kirupa.com/u/Lord_Rahl)\
**Post date:** [January 18, 2006, 2:36am UTC](https://forum.kirupa.com/t/need-socket-help/175820/1 "2006-01-18T02:36:36Z")

</div>

I have this file and I need help understanding a section on it. I’v attached the file from [http://www.gotoandplay.it/\_articles/multiplayerCentral/](http://www.gotoandplay.it/_articles/multiplayerCentral/). The section I need help on is the following.

```auto

mySocket.connect("localhost", 9999)

```

I think I get the rest. But thats the name and port number right? From what I understand there are **alot** of ports that can be used. But the name part, should it be soemthing like a IP or computer name or what? Just need some explanation on this part to better understand it so I can get it to work. :book:
