FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
SocketWrite issue
SocketWrite issue
Iniciado por Eric Strybos, 19,nov. 2018 11:45 - 1 respuesta
Conéctese…
Eric Strybos
#1
Publicado el 19,noviembre 2018 - 11:45
Hi,
I have to transmit some strings to a non windev application (TCP application on a server)
Therefore i use the sockets.
My code steps were the following:
1. SocketConnect("Client_Socket",port,address,10000)--> ok, i can make a connection
2. SocketWrite("Client_Socket","PRAX_[OTPR|0032494161752|99000109]") --> The other application only received the length of the message send ? = 34 !!
ok, because the SocketSizeAtBeginning = Default value of the type of transmission i tought
Correction
So before step2 i use
1b. IF SocketChangeTransmissionMode("Client_Socket",SocketNoEndTag) = True ...
But, ... after step2 = SocketWrite("Client_Socket","PRAX_[OTPR|0032494161752|99000109]") the other application received nothing more ????
What am i doing wrong ?
Thanks for your help,
Eric
Informar
0
0
Eric Strybos
#2
Publicado el 20,noviembre 2018 - 13:51
I made the following correction and it works now fine
SocketChangeTransmissionMode("Client_Socket",SocketEndTag,CR)
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto