Search found 91 matches: osocket

Return to advanced search

Re: Connection to XPlane Flight Simulator

... the code when it is finish, just in case someone wants to program de X-Plane simulator. One last question: I have an array in Fivewin like this oSocket[1]= 34433oSocket[2]= "192.168.1.25"oSocket[3]= 49009oSocket[4]= 15851  How can I send the array to ...
by alvaro533
Mon Jun 05, 2023 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: TWebServer buffer Socket

Hello,

What I used It worked oSocket:SendFile()
by Ari
Mon Mar 27, 2023 10:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TWebServer buffer Socket
Replies: 2
Views: 379

Re: Quit command

Dear Silvio, I have problem with oTimer and oSocket that still running in the memory or task manager after quit the program. I don't know what is wrong in my procedure step. This is my some part of my program that call oSocket and oTimer. I'm not ...
by dutch
Mon Dec 18, 2017 5:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quit command
Replies: 10
Views: 1717

Re: Quit command

I use ::oSocket and ::oTimer. I have got the problem also. I start the program with oTimer:Activate() Client() -> Connect to Server via Socket. But It is still in "Task Manager/Processes", when I quit the program. ...
by dutch
Thu Dec 14, 2017 5:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quit command
Replies: 10
Views: 1717

Problemas para enviar mails con TSMTP()

... Aquí mis preguntas: ¿Porqué en necesario que la rutina de TSMTP() deba conocer el nombre del servidor a partir de la IP? ¿Porqué "::oSocket:Connect( ::cIPServer )" debe estar fallando, si la IP es correcta? ¿De que manera se está conectando "::oSocket:Connect()" para ...
by FiveWiDi
Wed Dec 13, 2017 10:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas para enviar mails con TSMTP()
Replies: 0
Views: 570

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

... Pc says in IpConfig : IP4 = 192.168.1.104 So my sockserv program is running on the IP xxx.104 and not accessing the xxx.101 I think. If I also put oSocket:Connect( "192.168.1.101" ) in the serv. program, I'ts not working. function Server()   oSocket = TSocket():New( ...
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: 1792

Re: Send mail with a proxy

... the Connect event do the following nHostPort = 5950 cHostIP = "10.10.10.1" nProxyPort = 8080 cProxyAddress = "202.89.128.85" oSocket := CNCSocket():New(nProxyPort) oSocket:bConnect := { | oSocket | OnConnect(oSocket,oGet)} oSocket:cDestAddr := cProxyAddress oSocket:connect() ...
by James Bott
Wed May 27, 2015 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send mail with a proxy
Replies: 1
Views: 504

ENVIO DE DATOS CON TSOCKET

Estoy usando una conexion por medio de sockets (Tsocket de fwh) y necesito saber si el metodo oSocket:SendData(cDat) tiene alguna limitacion en cuanto al largo de la cadena a enviar a un servidor. Necesito enviar una cadena de unos 3000 bytes y cuando lo hago el servidor ...
by rterraz
Thu Mar 26, 2015 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ENVIO DE DATOS CON TSOCKET
Replies: 5
Views: 939

Issue with TSOCKET()

... 13/01/2015 10:52:09: Sent: -1 Len: 10 Buffer Len: 0 Error: 10057 ......... Ad-infinitum Effectively the code is the following for the Two Bridges (oSocketArray is an array for the two bridges) IF EMPTY(oSocketArray[nBridge]) mUniWinConnected := .F. mUniWinClosed := .F. mUniWinInput := "" ...
by paulrogers
Tue Jan 13, 2015 11:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with TSOCKET()
Replies: 3
Views: 690

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 := { | oSocket | OnRead( ...
by Marc Vanzegbroeck
Mon Jun 16, 2014 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sockets write & read question
Replies: 3
Views: 584

Tsocket on local computer via remote desktop

... an example? Sincerely, //----------------------------------------------------------------------------- FUNCTION SENDDATA( nPort, cIP, cMsg ) LOCAL oSocket := TSocket():New( nPort ) oSocket:bConnect := { || oSocket:SendData( "MSG " + cMsg ),; oSocket:End() } oSocket:Connect( cIP ) RETURN NIL
by cdmmaui
Wed Mar 27, 2013 3:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket on local computer via remote desktop
Replies: 4
Views: 965

Re: Socket client.prg/server.prg

oSocket:Connect( gethostbyname( "mydominio.zapto.org") )
by Gale FORd
Fri Feb 22, 2013 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Socket client.prg/server.prg
Replies: 23
Views: 5019

Re: Socket client.prg/server.prg

help me friends
Urgent need to connect with tsocket using domain name like this:
oSocket: Connect ("mydominio.zapto.org")

thank you
by edvaldo
Fri Feb 22, 2013 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Socket client.prg/server.prg
Replies: 23
Views: 5019

Re: Socket client.prg/server.prg

Ok, I've created accounts on the site and no-ip dyndns.org but the Ips are always changing, so I need to use the domain name as well:
oSocket: Connect ("meudominio.zapto.org") or oSocket: Connect ("meudominio.dyndns.prg")

thank you
by edvaldo
Tue Feb 19, 2013 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Socket client.prg/server.prg
Replies: 23
Views: 5019

Re: TSocket() question

... Do you write only server side software? Client software are written by other people? If you write client software too you can send immediately a oSocket:SendData( cIp) and server knows that there is a new connection bye
by dutch
Thu Jan 24, 2013 9:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSocket() question
Replies: 2
Views: 630
Next

Return to advanced search