Very nice image viewer!
That's my image viewer of choice! Essential and clean GUI, verrry fast image zoom and pan with mouse, browse/preview/select window and, even more, keystrokes, that means quick and precise operations at the cost of a minimal training.
Hope that theese guidelines will never change in future versions.
Re: how to know the port number ?
> My quick solution is to add a
> GetParent() method in Socket, that will
> return the pointer to the ListenSocket
> that created it. This will be in the
> next version.
> In your socket class, you'd do something
> like this:
> switch ( GetParent()->GetPort() )
> case 1024: // "server 1"
> case 1025: // "server 2"
> default: // wtf
> Also, I'm sure there is a way to get the
> local port of the established
> connection, but didn't find it after a
> quick man browsing. If you just could
> get the port number directly from the
> connected socket...
> Oh well, I know this doesn't help much
> until the next release, but just that
> you know that there is a solution
thanks for the quick new release. This evening I will try to update my server.