Re: IP 2 IP
| From: | Henrik Hansen | Date: | Sun, 12 Nov 2000 11:15:01 +0000 |
| Subject: | Re: IP 2 IP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24854@lists.php.net to get a copy of this message | ||
Mukul Sabharwal <mukulsabharwal@yahoo.com> wrote:
> Hi,
>
> Is it possible to do IP 2 IP communication with PHP.
>
> Some OT questions :
>
> (1) How can I maybe define port 3322 on a PC so that
> my chat service can run from here ?
take a look at the fsickopen function:
http://www.php.net/manual/function.fsockopen.php
> (2) How is a port actually made on a computer ?
you have to make some kind of a daemon that listens to a certain port,
but that more c/c++ programming related. maybe look at some source
that listens to a port, there are lots of it out there.
--
Henrik Hansen