Thread: how to use "SocketType.Rdm" to create a socket?

G

Guest

Hello,all.

Socket has many types,one of them is "SocketType.Rdm". As it says,this type
of

socket supports connectionless, message-oriented, reliably delivered
messages,

and preserves message boundaries in data. Rdm ( Reliably-Delivered Messages)

messages arrive unduplicated and in order. Furthermore, the sender is
notified

if messages are lost. If you initialize a Socket using Rdm, you do not
require

a remote host connection before sending and receiving data.

With Rdm, you can communicate with multiple peers.

But I don't know how to create a socket,which address family and protocol
should I use?

Do u have any idea about this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top