X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdatagramsocket.h;h=3903a6afa8e65ace8e7cdf15ba904c61082278fb;hb=a81c41acd873cda7f40bca634782230d9e57dc4f;hp=8c08a5d090b69190ef19f18a3970af762646ae6e;hpb=2aab4004e71a2e5c773289e0be5e58aec6a8d339;p=libs%2Fnet.git 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 *&);