-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 7 May 2009 00:06:58 -0700 (PDT), sathya <(E-Mail Removed)>
wrote:
> How does this socket behaves when the flag is zero ?
> Is it Blocking or Non-Blocking Socket?
>
>
>
> -----------------------------------------------------------------------------
> recvfrom(snmp_socket_desc, packet, 1500, 0,
> (struct sockaddr *)&from, &fromlength);
> ------------------------------------------------------------------------------
blocking.
From:
man recvfrom
"...
The flags argument to a recv() call is formed by OR'ing
one or more of the following values:
....
...."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoC3WIACgkQEi1IpCjOY3ExNACgqIFB0c8njs EF37KRcCuGKfid
oagAn1cncsODRdQTOQsUO84aQviPSteb
=KZ9w
-----END PGP SIGNATURE-----
|