Reply to Socket binding

Your name:

Reply:


Posted by Linux Jay on 10/03/91 11:36

Right, I have a box with multiple IP addresses assigned to it.

What I want is to be able to connect to elsewhere, appearing as each of those
IPs. I currently have code where no source IP is set as the extra addresses
are a new thing to me.

It looks like it's possible using socket_bind() but that's a bit too low level
for me, and makes use of an experimental extension module.

Ideally I would like to be able to bind fsockopen() to a particular IP, then
repeat and bind it to another IP - is this possible at all? I already have the
code which deals with fgets() and fwrite(), so it would be much easier as I'm
not sure how to implement them using the other socket extension.

Hope that makes sense :) This is my first post here.

TIA

--
J
My Realm: http://www.myrealm.co.uk/
'Drink up. The worlds about to end.'

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация