U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » Socket review and reimplementation
Re: Socket review and reimplementation [message #8837 is a reply to message #8821] Mon, 02 April 2007 22:19 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
luzr wrote on Mon, 02 April 2007 15:00

fallingdutch wrote on Mon, 02 April 2007 08:37


a basic socket class with minimal function, derived classes like TcpSocket and UdpSocket with extended functionality.



I think this is a little bit problematic if you take into account SSL issue. It is perhaps better to have single complex Socket class that can be opened both in SSL and non-SSL mode (2 implementations vs 4 implementations).


Well this basic class includes the current Data subclass which can be changed when using sslsockets so the basic class is a minimal class hiding the socket by using its own subclass (at the moment Data)
Which makes it possible to use any underlying connection as long as it is able to acces it with read and write ...

Bas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ & MacOS X Carbon
Next Topic: Windows XP64
Goto Forum:
  


Current Time: Fri Jun 19 07:09:03 GMT+2 2026

Total time taken to generate the page: 0.01220 seconds