RTC Forums
November 25, 2024, 12:35:48 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
How can i send binary data TrtcConnection
Pages: [
1
]
« previous
next »
Print
Author
Topic: How can i send binary data TrtcConnection (Read 5191 times)
yoda
Newbie
Posts: 3
How can i send binary data TrtcConnection
«
on:
May 08, 2010, 04:17:11 PM »
How can i send binary data with TrtcTcpServer ?
TrtcConnection was only one method to send data, method write( s:Ansistring ).
How can i sen send binary data ?
thanks in advance !!
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: How can i send binary data TrtcConnection
«
Reply #1 on:
May 08, 2010, 04:23:35 PM »
1) Always use HTTP/S-based components from the RTC SDK (TRtcHttpClient/TRtcMessageClient & TRtcHttpServer/TRtcISAPIServer). There is NO support for using binary TCP/IP or UDP transports.
2) The Read as well as the Write method do not care about what is being sent. To send binary data, simply copy it over into an AnsiString. There are no string transformations nor conversions made on raw data sent or received using Read and Write methods in the RTC SDK.
Best Regards,
Danijel Tkalcec
Logged
yoda
Newbie
Posts: 3
Re: How can i send binary data TrtcConnection
«
Reply #2 on:
May 08, 2010, 04:33:50 PM »
Wow !! The fastest support i ever seen especially in free support ( less than a minute ).
Thanks Daniel.
I will try another solution.
Logged
yoda
Newbie
Posts: 3
Re: How can i send binary data TrtcConnection
«
Reply #3 on:
May 08, 2010, 07:43:52 PM »
You are right !! sending data after copying to ansistring works fine .
Thanks again.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...