Search found 97 matches: sockcli

Return to advanced search

Problemas con Sockets

Hola Antonio

Estoy tratando de poner a funcionar los sockets,
El problema es que se compila bien, pero cuando
trato de ejecutar la aplicacion se cae.

incluso el sockcli.prg
by pablovidal
Wed Mar 21, 2012 11:13 am
 
Forum: FiveWin para Pocket PC
Topic: Problemas con Sockets
Replies: 0
Views: 770

Re: Ayuda con TSocket()

Jorge,

Revisa los ejemplos en FWH\samples sockserv.prg y sockcli.prg para que veas como se realiza la comunicación entre el cliente y el servidor.

Los datos llegan por eventos, y para que te lleguen debes hacer:

oSocket:bRead = { | oSocket | MsgInfo( oSocket:GetData() ) }
by Antonio Linares
Sat Nov 12, 2011 3:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TSocket()
Replies: 1
Views: 428

sockets and firewalls

... outside the firewall is a web-server. it's internal IP is 192.168.1.3 inside the firewall is a file-server - it's internal IP is 192.168.1.7 I use sockcli.prg and sockserv.prg nport is randomly selected to be 2525 if i try to connect to 207.119.xxx.xxx:nport - (webserver outside firewall) - no ...
by don lowenstein
Fri Jun 03, 2011 10:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: sockets and firewalls
Replies: 1
Views: 538

Re: Tsocket Bug

Hi Daniel, This is my last SockCli.prg. // Socket server connection sample#include "FiveWin.ch"#define nWaitTime       10000static oWnd, oSocket, oTimer, nTryfunction Main()   local oBar   DEFINE WINDOW oWnd TITLE "Client ...
by Horizon
Tue May 10, 2011 7:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Re: Tsocket Bug

... return SOCKET_ERROR, and WSAGetLastError will return WSAEWOULDBLOCK. ( you can call WSAGetLastError after connect, will see ) try with this new sockcli.prg / socksrv.prg look oSocket:bAccept ... i sent "ok" to notify the client the connection is accepted, other way the client no show ...
by Daniel Garcia-Gil
Mon May 09, 2011 5:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Re: Tsocket Bug

Hi Daniel,

I have tested your sockcli.exe in my computers. All of my computers says Connected, when I press connect button. There is no working socket server.
by Horizon
Mon May 09, 2011 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Re: Tsocket Bug

Hello i tested sockserv.prg and sockcli.prg and run fine from samples folder Download: http://www.sitasoft.net/fivewin/samples/testsock.zip sockserv.prg // Socket server connection sample#include "FiveWin.ch"#define ...
by Daniel Garcia-Gil
Sat May 07, 2011 9:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Re: Tsocket Bug

Hi Daniel, I use standart SockCli.prg and SockSer.prg's as an example. My main problem is connect method. My scenario is like below. SockSer.prg is not running. There is not any Socket server as I know. I use standart port 2000 and use ...
by Horizon
Sat May 07, 2011 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Re: Tsocket Bug

Dear Hakan,
Horizon wrote:I have 11.01. When I try to run SockCli.prg as an example without running SockSer.prg, Tsocket runs to bConnect. I think it should say can not connected.

unfortunately I never solved the problem above, and I'm still on 9.05

Hi,
Davide
by Davide
Sat May 07, 2011 12:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Re: Tsocket Bug

Hi Davide,

Can you solve this problem?

I have 11.01. When I try to run SockCli.prg as an example without running SockSer.prg, Tsocket runs to bConnect. I think it should say can not connected.

Thanks,
by Horizon
Sat May 07, 2011 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5360

Sockets

Hi,

I get a GPF when I try and do a:

oSocket = TSocket():New( 2000 )


I am working with the sockcli.prg program from the \FWPPC\Samples folder.


What can be causing this error?
by Jeff Barnes
Thu Apr 21, 2011 11:37 pm
 
Forum: FiveWin for Pocket PC
Topic: Sockets
Replies: 11
Views: 4039

Necesito ayuda con Socket

... archivos y necesito enviar esos archivos desde una pda a un pc a traves de socket. Desde ayer estoy tratando de hacerlo partiendo de los ejemplos sockcli y sockserv y no me da la cabeza. :oops: :oops: :oops: :oops: Habra un alma caritativa que me pueda dar una mano. :roll:
by Simon
Thu Mar 24, 2011 7:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Necesito ayuda con Socket
Replies: 2
Views: 461

socket con fwh y fwppc

Estoy probando el envio de archivos usando fwh 10.12 y fwppc partiendo de los ejemplos sockserv y sockcli, cuando se establece la conexion me sale un dialogo que dice enviando archivo, a veces el dialogo aparece 1 vez otras 4 o 5 veces (Cuando uso el emulador en vez de la ...
by Simon
Wed Mar 23, 2011 2:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: socket con fwh y fwppc
Replies: 1
Views: 291

FTP Server

... la aplicación cliente sabe dónde conectar y obtener los archivos, así que necesito un servidor FTP en mi solicitud. He intentado utilizar el Sockcli.prg y SockServ.prg pero no lo es, tiene que ser incluso a través de FTP. Si alguien puede publicar una clase servidorFTP, muchas gracias. Gracias
by Ari
Sun Nov 07, 2010 8:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP Server
Replies: 0
Views: 365

FTP Server

... in the database, then the client application knows where to connect and get the files, so I need an FTP within my application. I tried using the Sockcli.prg and SockServ.prg but it is not, has to be even via FTP. If someone can post a ftpserver class, thank you very much. Thanks Ari Brazil
by Ari
Sun Nov 07, 2010 8:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP Server
Replies: 0
Views: 332
PreviousNext

Return to advanced search