1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-05 19:18:01 +08:00

Update socket.h

This commit is contained in:
Victor Stewart 2020-05-21 19:01:14 -04:00 committed by GitHub
parent 89b7b98284
commit 264dca0bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -673,6 +673,9 @@ public:
*/
virtual bool connectServer(const UString& server, unsigned int iServPort, int timeoutMS = 0);
// this method initiates an asynchronous connection that you must later wait on with UNotifier::waitOnAsynchronousConnects
virtual bool beginAsynchronousConnect(const UString& server, unsigned int iServPort);
/**
* This method is called to receive a block of data on the connected socket.