07-27-07 06:19 AM
studyos <frankinglin@gmail.com> wrote:
>which API is designed for this target or no one exists?
>
>Thanks in advanced
>
Depends which OS you are using.
Linux:
From man 2 connect...
Connectionless sockets may dissolve the association by connecting to
an address with the sa_family member of sockaddr set to AF_UNSPEC.
Solaris:
From man 3 connect...
Datagram sockets can dissolve the association by connecting to a null
address.
Other flavors may vary.
[ Post a follow-up to this message ]
|