X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fdatagramsocket.h;h=3903a6afa8e65ace8e7cdf15ba904c61082278fb;hp=8c08a5d090b69190ef19f18a3970af762646ae6e;hb=a81c41acd873cda7f40bca634782230d9e57dc4f;hpb=c016a1ae2bc93a48074e4b8cafab70b9d2c9fc20 diff --git a/source/datagramsocket.h b/source/datagramsocket.h index 8c08a5d..3903a6a 100644 --- a/source/datagramsocket.h +++ b/source/datagramsocket.h @@ -9,7 +9,8 @@ namespace Net { class DatagramSocket: public Socket { public: - DatagramSocket(Family, int =0); + DatagramSocket(Family, int = 0); + int connect(const SockAddr &); unsigned sendto(const char *, unsigned, const SockAddr &); unsigned recvfrom(char *, unsigned, SockAddr *&);