|
-
Jan 8th, 2004, 02:37 PM
#1
Thread Starter
New Member
Binding to an IP .. sorta
ok, .. i've done some searches, and seen a lot of people try to explain the same question, and they don't get the response thay looking for. So, i'll try my best to describe it in detail.
Have a PC, with multiple IP's .. few internal and few external.
I'm trying to get vb.NET 2003, to be able to connect FROM a specific local IP, .. to somewhere else. It;s something similar to Bind, .. but the bind command only works for listening right?
I need this for security purposes, where i can have the remote server machine check and verify wich IP the connection is comming from.
But to make that happen, i need to be able to initiate the connection on the client machine from a specific one of it's IP's. By defualt, the "connect()" statement uses the first IP on the machine (wich isn't the one i need to use). to be more specific, i'll give an expample:
Local client IP's
192.168.1.10, 192.168.1.20, 192.168.1.30, 192.168.1.40
Remote Server:
192.168.1.100
Application would be running on "Local Client", by defualt, it would use 192.168.1.10 to connect to 192.168.1.100..
let's say, i'd like to use 192.168.1.30 to connect to 192.168.1.100? How would i go about that?
I've already tried Bind, then connect.. it gives me wrong protocal state error
~Shagz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|