Hi all,
I have spent 4 days trying to send and receive data from “SslWSocketServer” to
“SslWSocket”, with no success.
What am I trying to do?
I am trying to send and receive data from “SslWSocketServer” to “SslWSocket”
(to a connected client/clients),
send and receive data from “SslWSocket” to
Hello daniel,
As I said before, please FIRST do the job WITHOUT SSL. You'll add SSL later.
It is the same component with or without SSL. Simply the SSL code is
compiled with the conditinal symbol use_ssl so that application which do
not require SSL stay independent of OpenSSL and stay
Hi Francois,
Thanks for the response.
I wish to continue with SSL if there is no difference.
This is the last message I have received from you regarding,
Please start by fully
Now,
The project OverbyteIcsSrvTcp has absolutely nothing in inside to
help me. I can't find anything about sending or receiving in this
project.
The OverbyteIcsSrvTcp uses the OverbyteIcsTcpCmd.pas, where you will
find the code of the server.
The project OverbyteIcsClient7 gives me
The OverbyteIcsSrvTcp uses the OverbyteIcsTcpCmd.pas, where you will
find the code of the server.
Yes,
I already knew this.
Make sure you have the server running, before you hit the client connect
button.
Make also sure the client port is set to the same server port. The
server port is set
It gives error when clicking the connect button
What's the connect error?
however,
I will be able to fix the errors but,
this still doesn't help me much because,
I need to be able to send the commands from the server to the client
as well.
I can find nothing about how to send anything
daniel,
I wish to continue with SSL if there is no difference.
SSL is an add-on, so skip that for now, you have to understand the
basics first .
Now,
The project OverbyteIcsSrvTcp has absolutely nothing in inside to
help me. I can't find anything about sending or receiving in this
Huch? There's method WSocket1DataAvailable that receives data
and SendButtonClick that sends strings.
There is no such button SendButtonClick in this project --
OverbyteIcsSrvTcp.bdsproj.
Are we talking about the same project or is it something which I don't have?
TCP/IP requires a
I wish to continue with SSL if there is no difference.
There is a difference: you introduce something in extra which has a lot of
reason not to work. First thing first, start without SSL.
The project OverbyteIcsSrvTcp has absolutely nothing in inside to help
me.
Sure it has ! It accept
I need to be able to send the commands from the server to the client as
well.
Given a server has a lot of client (potentially), how do you select the
client you want to communicate with ?
Usually a server reply to a command sent by a client, but once the client is
connected, the server can
Assuming N is the index of the selected client, you send something using
this line of code:
WSocketServer.Client[N].Send(MyBufAddr, MyBufLnegth);
When sending something back to a client having sent a command, you use the
sender argument of the dataavailable event. This sender represent
Assuming N is the index of the selected client, you send something using
this line of code:
WSocketServer.Client[N].Send(MyBufAddr, MyBufLnegth);
When sending something back to a client having sent a command, you use the
sender argument of the dataavailable event. This sender represent the
When sending something back to a client having sent a command, you use the
sender argument of the dataavailable event. This sender represent the
client:
TWSocket(Sender).Send(MyBufAddr, MyBufLnegth);
I still can't find anything regarding this in existed demos/samples.
In the server
and it doesn't work
Please be more specific. What error/exception do you have ?
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
--
To unsubscribe or change your settings
14 matches
Mail list logo