* The following example demonstrates how to use the %Ip4Address class.
*
* @code
+ *
+ * #include <FBase.h>
+ * #include <FNet.h>
+ *
* using namespace Tizen::Base;
* using namespace Tizen::Net;
*
* result
- * MyClass::SomeMethod(void)
+ * SomeMethod(void)
* {
* result r = E_SUCCESS;
*
- * Tizen::Base::String ip4String(L"192.168.0.1");
+ * String ip4String(L"192.168.0.1");
* Ip4Address* pIp4Address = new Ip4Address(ip4String);
*
* // Gets the raw IP address.
* r = bb.Construct(sizeOfIp4Address);
* r = pIp4Address->GetAddress(bb);
*
- * // Success
- * return (r);
+ * return r;
* }
* @endcode
*/
int GetMaxNumberOfClients(void) const;
/**
- * @if OSPDEPREC
+ * @cond OSPDEPREC
* Gets the SSID.
*
* @if OSPCOMPAT
* For more information, see the issue description for @ref CompWifiDirectGroupInfoGetSsidPage "here".
* @endif
* @return The SSID
- * @endif
+ * @endcond
*/
Tizen::Base::String GetSsid(void) const;
if (__isAsync == true)
{
__isRunFinished = true;
- r = __pGlibSocketInfo->SetSocketEvent(this, __socketFd);
- SysTryReturn(NID_NET_SOCK, r == E_SUCCESS, null, E_OUT_OF_MEMORY, "Memory allocation failed.");
- SysLog(NID_NET_SOCK, "SocketFd : [%d], Set the socketEvent to attach All condition.", __socketFd);
+ if(__pGlibSocketInfo != null)
+ {
+ r = __pGlibSocketInfo->SetSocketEvent(this, __socketFd);
+ SysTryReturn(NID_NET_SOCK, r == E_SUCCESS, null, E_OUT_OF_MEMORY, "Memory allocation failed.");
+ SysLog(NID_NET_SOCK, "SocketFd : [%d], Set the socketEvent to attach All condition.", __socketFd);
+ }
}
return null;