Skip to Content.
Sympa Menu

transport - Re: [transport] API comments

Subject: Transport protocols and bulk file transfer

List archive

Re: [transport] API comments


Chronological Thread 
  • From: Steven Senger <>
  • To: Yunhong Gu <>
  • Cc:
  • Subject: Re: [transport] API comments
  • Date: Thu, 24 Feb 2005 22:25:08 -0600


On Feb 24, 2005, at 10:16 PM, Yunhong Gu wrote:


int x_setsockopt

"QTTL int msec after which data will be retransmitted"

Maybe I missed something but I wonder why TTL is used to do the
retransmission. I think usually RTO is used to do this and it shouldn't be
set by applications.


My mistake. I omitted a word. This is intended to refer to the timed partial reliability service. I called it TTL just because SCTP uses that name. It is intended to be the time in queue after which data will _not_ be retransmitted.


int x_sockerror(X_SOCKET skt)

I think the parameter "skt" is not very useful because the error is
always checked right after a socket function is called. For example, on
*nix "errno" is used; on Windows "GetLastError()" or "WSAGetLastError()"
is used. Those global variable or functions simply record the most recent
error.

I'll change it.




Archive powered by MHonArc 2.6.16.

Top of Page