J
janicehwang1325
hi expert,
Currently, I have a server program running localhost. Then i have 2
separate client programs that will connect to the server at the same
time. However, my server program will only allow one client program to
connect. If there is another program from the same IP connect, it will
exit. Is it the program becoz of the client is using same identity to
connect to the server making the server exit itself? FYI, i had tested
the server progarm (it's multitaking using thread) and having
connection from different user having no problem. If i would like to
run the server to accept connections from clients from the same IP is
that possible?
Currently, I have a server program running localhost. Then i have 2
separate client programs that will connect to the server at the same
time. However, my server program will only allow one client program to
connect. If there is another program from the same IP connect, it will
exit. Is it the program becoz of the client is using same identity to
connect to the server making the server exit itself? FYI, i had tested
the server progarm (it's multitaking using thread) and having
connection from different user having no problem. If i would like to
run the server to accept connections from clients from the same IP is
that possible?