Skip to Content.
Sympa Menu

transport - Re: [transport] Draft API 1

Subject: Transport protocols and bulk file transfer

List archive

Re: [transport] Draft API 1


Chronological Thread 
  • From: Lisong Xu <>
  • To: Steven Senger <>
  • Cc:
  • Subject: Re: [transport] Draft API 1
  • Date: Thu, 03 Mar 2005 12:23:17 -0600

Steve, Thanks for your work. I have a few quick questions about the API.

1) About x_sockstats(X_SOCKET skt)
Why for a SOCK_STREAM, it does not return buffer occupancy?
Also can this function return more information? For example, the number of lost packets, the number of re-transmissited packets, the number of loss events, ....

2) About x_send(X_SOCKET skt, const void *buf, int len)
If skt is of type SOCK_DGRAM, then the data is sent as a single message. Is there a maximum limit for the UDP message size? What happens, if "len" is greater than that limit?

Thanks
Lisong


Steven Senger wrote:

I've only made a little progress but here is an updated draft as promised. I have a number of issues that we need to resolve but I've run out of time for tonight. I will try to send an email of the issues tomorrow.

- steve





Archive powered by MHonArc 2.6.16.

Top of Page