Search found 87 matches: sockserv

Return to advanced search

Re: REFRESCAR BROWSE Y CONSULTA SQL AUTOMATICAMENTE

... porque es verdad, de la forma que yo lo hago hago muchas consultas que el 95% de las veces son innesesarias En \Samples tienes sockcli.prg y sockserv.prg para que puedas testear el funcionamiento de los sockets, a mí me sirvió mucho para poder implementarlos en una aplicación que hice para ...
by VictorCasajuana
Thu Jul 28, 2022 7:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: REFRESCAR BROWSE Y CONSULTA SQL AUTOMATICAMENTE
Replies: 5
Views: 494

Convert and print chinese idioms

... hSocket ) return nil the message on the screen is correct ,but the printed result is wrong (other idioms ) :( . I compared with sockserv.prg (from fwh \ samples folder) the transmission and reception of the program in FW and a program that correctly prints and analyzes the strings ...
by Maurizio
Fri Jul 08, 2022 3:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert and print chinese idioms
Replies: 3
Views: 474

Re: SOCKETS - Hay que reiniciar ordenador para volver a conectar

... "ws2_32.dll"  // "wsock32.dll"  también vale Como el servidor lo he desarrollado a partir del código que aparece en sockserv.prg que viene con FiveWin, observo que con cada bAccept que recibe el servidor el sistema crea un nuevo socket, sucediendo que cuando se "mata" ...
by Verhoven
Tue May 25, 2021 10:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SOCKETS - Hay que reiniciar ordenador para volver a conectar
Replies: 11
Views: 1024

Re: SOCKETS

Revisa los ejemplos sockserv.prg y sockcli.prg en FWH\samples
by Antonio Linares
Fri Oct 11, 2019 4:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SOCKETS
Replies: 10
Views: 1487

Re: La magia de los Sockets

... )   if !Empty( cMsg )      oSocket:SendData( "MSG " + cMsg )   endifReturn lSucess  Tome como referencia los ejemplos de sockserv.prg y sockcli.prg de FWH.
by albeiroval
Mon May 21, 2018 5:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: La magia de los Sockets
Replies: 19
Views: 5043

Re: La magia de los Sockets

Estimado Albeiro,

Revisando el código de Oscar, parece que el servidor es un trabajo derivativo del ejemplo sockserv.prg de FWH

¿ Podrías publicar los cambios y mejoras realizadas ?

gracias
by Antonio Linares
Fri May 18, 2018 10:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: La magia de los Sockets
Replies: 19
Views: 5043

Another for Sockserv and sockcli

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 ...
by Silvio.Falconi
Mon Apr 30, 2018 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Sockserv and sockcli
Replies: 0
Views: 420

Re: send a data to a client

yes SERVER---> Sockserv-prg one PC----------------------------> Sockcli.prg Second Pc ----------------------->Sockcli.prg third Pc -------------------------- >Sockcli.prg Now I stay on server and send a message ...where ...
by Silvio.Falconi
Sat Apr 28, 2018 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: send a data to a client
Replies: 6
Views: 1219

Re: send a data to a client

Silvio,
did you try sockcli.prg and sockserv.prg in two different computers?
In example in sockserv.prg

Code: Select all  Expand view
  DEFINE BUTTON OF oBar ACTION oClient:SendData( "Hello from server!" ) TOOLTIP "Talk to client"

works fine!
by MarcoBoschi
Fri Apr 27, 2018 6:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: send a data to a client
Replies: 6
Views: 1219

Re: send a data to a client

I use sockcli.prg and sockserv.prg U found them on samples folder When a client is connetted to server I create an array with oClient:nSocket and oClient:ClientIP() I 'am trying to understand How I can acquire information and use the ...
by Silvio.Falconi
Thu Apr 26, 2018 7:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: send a data to a client
Replies: 6
Views: 1219

send a data to a client

I finally managed to connect sockserv to the sockcli and creating an array I saw that when a client connects, it puts the socket number and its ip as you can see in this picture https://s17.postimg.cc/dtnpr82nz/test2.jpg ...
by Silvio.Falconi
Thu Apr 26, 2018 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: send a data to a client
Replies: 6
Views: 1219

Re: SockCli and SockServer sample using is not clear for me

... right IP from the serv. program ? Pbx = 192.168.1.101 and port = 33334 It it accessed by a 3 party proggie from My computer, where I try to get sockserv running. I can show some data from the Pbx. My Pc says in IpConfig : IP4 = 192.168.1.104 So my sockserv program is running on the IP xxx.104 ...
by Marc Venken
Thu Sep 21, 2017 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1828

Re: SockCli and SockServer sample using is not clear for me

OK. WIll try.

The Firewall will be the trouble I think. Will look into it.

For testing Serv - Client (Prg's)

It is the IP4 IP from the computer that I put the sockserv on that is the correct one. Does the port nummer matter in this case, or can I use the proposed 2000
by Marc Venken
Thu Sep 21, 2017 7:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1828

Re: SockCli and SockServer sample using is not clear for me

You are right when you click it goes wrong
But If you click the first button on the left of sockserv.exe
And then from your phone you "send" data you sholud see something
Maybe you have to test sockserv it using sockli.prg first
disable firewall first of all
by MarcoBoschi
Thu Sep 21, 2017 7:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1828

Re: SockCli and SockServer sample using is not clear for me

... PC is the server and the PBX is the client. Clear... The client (PBX) is sending to one IP adress of the PC with a specifiek Port ; Clear ... The SockServ.prg will call the Port, but does not need the IP adres, because he is the IP adres. ?? There is no reference in the sockserv.prg that has a ...
by Marc Venken
Wed Sep 20, 2017 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1828
Next

Return to advanced search