Deye

Client\Server Q

5 posts in this topic

#1 ·  Posted

Hi,

1. Scenario 1:
client's (listening script) connects to server (listening script) which is on a private network 

Q. Will the server script see the client connections with IPs like (192.168.x.x) 
Does (192.168.x.x) vary for the different connections (multiple users) ?

Since I'm only testing this locally .., I would like some opinions on what to expect and what are known\preferable ways to deal with such connections

Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted

Yes, you will see private connections as 192.168.x.x. Every computer in the local private network will have a unique 192.168.x.x address

1 person likes this

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#3 ·  Posted

Thanks

a. What about external connections from the internet out of the local network ?
do I get external IPs for clients ?

b. What happens when a client (script) first connects to the server (script) with one socket
then on the same time the client executes a browser link that contains an http "GET"  to the server 
will that keep 2 sockets open between the client and server ? 1 for the browser and one for conversing in messages ? 

Share this post


Link to post
Share on other sites

#4 ·  Posted

1 minute ago, Deye said:

do I get external IPs for clients ?

Yes, the IPs for external clients will be out of the private IP range

3 minutes ago, Deye said:

b. What happens when a client (script) first connects to the server (script) with one socket
then on the same time the client executes a browser link that contains an http "GET"  to the server 
will that keep 2 sockets open between the client and server ? 1 for the browser and one for conversing in messages ? 

Not sure what you mean... the client executing a browser link or doing anything else will not effect the socket. The socket for the "GET" request is different and does not interfere with the other socket.

1 person likes this

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#5 ·  Posted

Good, will only need to log connections into an array to be able to link connections with sockets
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now