Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Context.Connection.Socket.WriteInteger() not available?
#4
(10-24-2024, 08:49 PM)Justin Case Wrote: Ok, thanks. Yes I knew about the integer being written preceding the TStream but obviously that's for Indys use from my POV

It is for the protocol's use. If the protocol requires a preceding size, then Indy has a convenient wrapper to make that easier.

(10-24-2024, 08:49 PM)Justin Case Wrote: when I want to send a transfer request to a client I'd like to be able to send the file ahead of the stream being written!

I assume you meant the stream size, right? IE if you wanted to send the stream size, then get an acknowledgement before then sending the actual stream. That is certainly doable, even in Indy 10.

Reply


Messages In This Thread
RE: Context.Connection.Socket.WriteInteger() not available? - by rlebeau - 10-24-2024, 09:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)