Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Binding Client Sockets (Indy or Raw)?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Jul 31, 2013 2:26 am    Post subject: Binding Client Sockets (Indy or Raw)? Reply with quote

I don't know if anyone has ever had this problem before but I have a computer with multiple external IP addresses. However, I want my program to be able to select which IP address to use. I'm using Indy but the IdHttp.BoundIP and TIdClientSocket.BoundIP don't seem to work as either it errors out with binding failed or the remote ip seem from the other server is still the main IP I use.

Is it even possible to force your client to use a specific IP to access a website or is IP Binding only for servers?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25823
Location: The netherlands

PostPosted: Wed Jul 31, 2013 2:39 am    Post subject: Reply with quote

The system picks the network interface for you depending on your route table

I think the "ROUTE" command can be used to set a specific network device to be used when the destination is a specific ip

It's been a LOOOOONG time that I used this so I kinda forgot how to use it, but ROUTE PRINT will show the current list , ROUTE ADD xxx adds a new entry and ROUTE -p ADD xxx makes it so it stays on next reboot a well

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Jul 31, 2013 4:56 am    Post subject: Reply with quote

Hmm interesting. But that would only work if the destination you are trying to reach is different. I don't think that will work if you're trying to connect to the SAME destination with DIFFERENT ips correct?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25823
Location: The netherlands

PostPosted: Wed Jul 31, 2013 5:50 am    Post subject: Reply with quote

right. I don't think you can use both at the same time for the same destination, but I could be wrong

Perhaps you could connect one, then change the route and connect the second. But I think the old connection will get broken then

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Jul 31, 2013 11:01 am    Post subject: Reply with quote

Hmm I think I resolved the issue of having to use multiple ips to access one IP so I'm going to look into the route command and see what I can do.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites