|
Posted by Linux Jay on 10/09/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.'
Navigation:
[Reply to this message]
|