Search found 97 matches: sockcli

Return to advanced search

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

Ok, So the 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 ...
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: 1886

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

Mark, I use innovaphone pbxs http://www.marcoboschi.it/public/mark.png In the Pbx I set Ip address and port of Pc in which there is a program (like sockserv.prg) thas is waiting for information In this case pbx sends all cdr informations the program receives these informations and th...
by MarcoBoschi
Wed Sep 20, 2017 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1886

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

Is the PBX not working as a server ?
No in my opinion PBX is working as *the client* you have to take a look at sockserv.prg
by MarcoBoschi
Wed Sep 20, 2017 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1886

SockCli and SockServer sample using is not clear for me

... the PBX is sending over the lan by reading the port and IP My Question : Is the PBX not working as a server ? and do I only need to focus on the SockCli.prg sample to find a solution or do I also need the SockServ program to work. I don't think so, but I could be wrong. I don't want to go back ...
by Marc Venken
Wed Sep 20, 2017 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SockCli and SockServer sample using is not clear for me
Replies: 10
Views: 1886

Re: tSocket Server/client question

SIlvio take a look in samples folder sockcli.prg and sockserv.prg in sockli.prg you find this function function SendFile()   local cFileName := cGetFile( "*.*", "Select a file to send by Internet" )  ...
by MarcoBoschi
Mon Mar 20, 2017 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tSocket Server/client question
Replies: 6
Views: 954

Re: Lan chat

Thanks,
Can you explain how use it on lan ?

I think a Socket communication we can use tsocket class ( sockcli.prg and sockserv.prg)

But in these many years I use (x)fw(h) I not Know also how create a small chat

Are there some Gurus here ?
by Silvio.Falconi
Mon Apr 04, 2016 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lan chat
Replies: 4
Views: 942

socket

... handle: 1776 01/31/15 17:19:59: Sent: -1 Len: 18 Buffer Len: 0 Error: 10038 lo he provado sobre maquina virtual y en el mismo equipo el ejemplo (sockcli y sockserv) y me da el error arriba indicado la unica modificacion que puse en el cliente fue incluir el log para vuscar el error pero desconosco ...
by ender
Mon Feb 02, 2015 11:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: socket
Replies: 1
Views: 449

Re: Ideas????

Jeff,

You could use sockets directly. Please review FWH\samples\sockserv.prg and sockcli.prg
by Antonio Linares
Sat Nov 15, 2014 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ideas????
Replies: 20
Views: 3432

Re: SP30 MULTILANE PINPAD

Mosh,

You could use sockets. Not sure if there is a specific library (built on top of sockets) that may simplify it.

For sockets use please review samples\sockcli.prg and sockserv.prg
by Antonio Linares
Mon Jun 23, 2014 9:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SP30 MULTILANE PINPAD
Replies: 9
Views: 1872

Re: Sockets write & read question

Antonio, That's what I did now. First I used the code in sockcli.prg and than sockserv.prg. So first call oSocket:SendData and then oSocket:bAccept = { | oSocket | oClient := TSocket():Accept( oSocket:nSocket ),; oClient:Cargo := ST_COMMAND,; oClient:bRead ...
by Marc Vanzegbroeck
Mon Jun 16, 2014 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sockets write & read question
Replies: 3
Views: 594

Re: Sockets write & read question

Marc,

You can find in FWH\samples sockserv.prg and sockcli.prg that can help you to see how they work.
by Antonio Linares
Mon Jun 16, 2014 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sockets write & read question
Replies: 3
Views: 594

Re: Pasar cadenas XML socket directo

Paul,

Revisa FWH/samples/sockserv.prg y sockcli.prg es una forma fácil de enviar lo que necesites :-)
by Antonio Linares
Wed Mar 13, 2013 8:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar cadenas XML socket directo
Replies: 5
Views: 962

Re: TSocket Question

Peter, FWH Class TSocket requires that there is a defined main window. There is no need to wait in a loop. Please review FWH\samples\sockcli.prg Hola Antonio, Eso que comentas de la clase TSocket es aplicable a la clase HB_WhatsApp? Para enviar WhastApp con la clase que menciono, debería ...
by FiveWiDi
Wed Oct 24, 2012 9:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSocket Question
Replies: 3
Views: 816

Re: TSocket Question

Peter,

FWH Class TSocket requires that there is a defined main window. There is no need to wait in a loop.

Please review FWH\samples\sockcli.prg
by Antonio Linares
Wed Oct 24, 2012 11:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSocket Question
Replies: 3
Views: 816

Re: Como controlo el socket

Jose,

Revisa samples\sockcli.prg y sockserv.prg
by Antonio Linares
Thu Apr 26, 2012 6:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como controlo el socket
Replies: 4
Views: 852
PreviousNext

Return to advanced search