DATA
09-15-2003, 07:57 AM
hi,
I am new at socket programming(bsd).Need some help.
man socket
*. it says SOCK_SEQPACKET is a sequenced reliable 2 way connection based data transmission path for datagrams.
there is also a SOCK_RDM that provides a reliable datagram layer that doesnt guaruntee ordering.
However it says that SOCK_SEQPACKET is not supported by the AF_INET family.
how do we do reliable UDP datagrams transmission and rearrange out of order packets for hosts communicating on the internet?
2. the same man page says SOCK_STREAM may support an out of band transmisson mechanism. What does it mean?
*. What are the socket(2),connect(2),read(2),send(2),recv(2). I mean what does the number in () indicate. It is not the number of arguments passed. What is it?
Thanks.
Data.
I am new at socket programming(bsd).Need some help.
man socket
*. it says SOCK_SEQPACKET is a sequenced reliable 2 way connection based data transmission path for datagrams.
there is also a SOCK_RDM that provides a reliable datagram layer that doesnt guaruntee ordering.
However it says that SOCK_SEQPACKET is not supported by the AF_INET family.
how do we do reliable UDP datagrams transmission and rearrange out of order packets for hosts communicating on the internet?
2. the same man page says SOCK_STREAM may support an out of band transmisson mechanism. What does it mean?
*. What are the socket(2),connect(2),read(2),send(2),recv(2). I mean what does the number in () indicate. It is not the number of arguments passed. What is it?
Thanks.
Data.