Page 1 of 1

Another for Sockserv and sockcli

Posted: Mon Apr 30, 2018 8:56 am
by Silvio.Falconi
I understood that there is an sample called sockserv.prg

One time I run the exe it listen if there are oclients on lan ( sockcli.prg)


I understood I must make an array to save all client is connected to server ( I must save the nsocket, the name and the ip of client)

The server before must connect to one oclient and then can called this oclient with msg the oclient. ok
this because the server is connected with the last oclient connected to server

there are many problems I not understood also ....

for a sample I not understood how a client can send a msg with another oclent

Another thing ...If it is true that for the communication via socket (tcip) between clients it always takes the server and the client I did not understand how it can run an application I found it on the internet called popmessenger which uses the tcip protocol and has the ports inserted and the IP address but I do not see any server program (http://www.leadmind.com)