]> source.dussan.org Git - tigervnc.git/commit
Return TcpListener pointers rather than objects
authorPierre Ossman <ossman@cendio.se>
Tue, 29 Sep 2015 13:40:49 +0000 (15:40 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 29 Sep 2015 13:40:49 +0000 (15:40 +0200)
commitf7aa3f9bd315ba52d6ee1e7236a580102c8d20b8
tree45d4adcd35e59ec11233d1f6a65b78fad811701f
parent7ebce759122eeda383d7d299ee577c75c0f9ac6e
Return TcpListener pointers rather than objects

It is easier to control object life time and avoid magical socket
duplication by having a single TcpListener object to pass around.
We have to be more careful about deleting the object though.
common/network/TcpSocket.cxx
common/network/TcpSocket.h
unix/x0vncserver/x0vncserver.cxx
unix/xserver/hw/vnc/RFBGlue.cc
unix/xserver/hw/vnc/XserverDesktop.cc
unix/xserver/hw/vnc/XserverDesktop.h
unix/xserver/hw/vnc/vncExtInit.cc
vncviewer/vncviewer.cxx
win/winvnc/ManagedListener.cxx
win/winvnc/ManagedListener.h