# Connecting with localhost

**URL:** <https://forum.kirupa.com/t/connecting-with-localhost/307618>\
**Category:** Uncategorized\
**Created:** [April 7, 2010, 1:54am UTC](https://forum.kirupa.com/t/connecting-with-localhost/307618 "2010-04-07T01:54:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![experts585](https://avatars.discourse-cdn.com/v4/letter/e/ecae2f/32.png) [@experts585](https://forum.kirupa.com/u/experts585)\
**Post date:** [April 7, 2010, 1:54am UTC](https://forum.kirupa.com/t/connecting-with-localhost/307618/1 "2010-04-07T01:54:44Z")

</div>

heloo friends,  
i am a php devloper but i have a task which is related to flash soo therefore i need you people help

here this code i found to connect with tcp/ip but when i compile and run this it give me 3 error can any one fix this and more can any one help me to connect to localhost server your guide line might help me to complete this task

> **[connect to socket, read and write data](https://www.kirupa.com/forum/showthread.php?t=295039)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

this is the link where i found the code  
thanks in Advance
