genericopenlibs/openenvcore/libc/test/testsocket/inc/tsocket.h
branchRCL_3
changeset 75 254b651f304e
parent 64 c44f36bb61a3
equal deleted inserted replaced
64:c44f36bb61a3 75:254b651f304e
   133 _LIT(KTestNotify1, "TestNotify1");
   133 _LIT(KTestNotify1, "TestNotify1");
   134 _LIT(KTestSockFcntl, "TestSockFcntl");
   134 _LIT(KTestSockFcntl, "TestSockFcntl");
   135 _LIT(KTestSockIoctl, "TestSockIoctl");
   135 _LIT(KTestSockIoctl, "TestSockIoctl");
   136 _LIT(KSockErrnoTest, "SockErrnoTest");
   136 _LIT(KSockErrnoTest, "SockErrnoTest");
   137 _LIT(KSockSendOnClosedConn,"SockSendOnClosedConn");
   137 _LIT(KSockSendOnClosedConn,"SockSendOnClosedConn");
   138 _LIT(KSockWriteOnClosedConn,"SockWriteOnClosedConn");
       
   139 class CTestSocket : public CTestStep
   138 class CTestSocket : public CTestStep
   140 	{
   139 	{
   141 public:
   140 public:
   142 	~CTestSocket(); 
   141 	~CTestSocket(); 
   143 	CTestSocket(const TDesC& aStepName);
   142 	CTestSocket(const TDesC& aStepName);
   231 	TInt create_udp_socket(int port);
   230 	TInt create_udp_socket(int port);
   232 	TInt send_packet(int s);
   231 	TInt send_packet(int s);
   233 	TInt close_socket(int fd);
   232 	TInt close_socket(int fd);
   234 	TInt SockErrnoTest();
   233 	TInt SockErrnoTest();
   235 	TInt SockSendOnClosedConn();
   234 	TInt SockSendOnClosedConn();
   236 	TInt SockWriteOnClosedConn();
       
   237 	};
   235 	};
   238 #endif 
   236 #endif