Has anyone successfully gotten socket functions to work with FreeBSD?
More specifically, Mac OS X?
I always get the following error: Can't bind to port 12345, exiting.
The script works fine on Linux machines. Is there a patch in the works
for FreeBSD? If so, I would be very happy.
--
Devon
Hi,
A bind error means that the port is being used by
another application, incase that's incorrect you can
assure yourself by doing this :
socket_setopt(listener, SOL_SOCKET, SO_REUSEADDR, 1);
This function is undocumented (yet) and would require
you to download the latest version from CVS.
Oops,
socket_setopt($listener, SOL_SOCKET, SO_REUSEADDR, 1);
=
*
Know more about me:
http://www.geocities.com/mimodit
*
__
Do You Yahoo!?
Listen to your Yahoo! Mail messages
On Wed, 3 Oct 2001 02:02, Devon Weller wrote:
Has anyone successfully gotten socket functions to work with FreeBSD?
More specifically, Mac OS X?
I always get the following error: Can't bind to port 12345, exiting.
The script works fine on Linux machines. Is there a patch in the works
for
4 matches
Mail list logo