X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fstreamsocket.cpp;h=48d06a79ccebab9809d3c2b2cf65988c93033a5c;hp=30c7efd77a35d2b257785e7af1ddb6b80f0156cd;hb=ef23ca71babc753231bb2dd197be6dd7099d9804;hpb=861c4e9c54df7594a362013fdf6b1e048e935ae4 diff --git a/source/streamsocket.cpp b/source/streamsocket.cpp index 30c7efd..48d06a7 100644 --- a/source/streamsocket.cpp +++ b/source/streamsocket.cpp @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspnet -Copyright © 2008 Mikkosoft Productions, Mikko Rasa +Copyright © 2008-2009 Mikkosoft Productions, Mikko Rasa Distributed under the LGPL */ @@ -144,6 +144,7 @@ int StreamSocket::connect(const SockAddr &addr) if(err==0) { connected=true; + set_events(IO::P_INPUT); signal_connect_finished.emit(0); }