Another for Sockserv and sockcli

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Another for Sockserv and sockcli

Post 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)
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply