3 This file is part of libmspnet
4 Copyright © 2008 Mikkosoft Productions, Mikko Rasa
5 Distributed under the LGPL
8 #ifndef MSP_NET_DATAGRAMSOCKET_H_
9 #define MSP_NET_DATAGRAMSOCKET_H_
16 class DatagramSocket: public Socket
19 DatagramSocket(Family, int =0);
20 int connect(const SockAddr &);
21 unsigned sendto(const char *, unsigned, const SockAddr &);
22 unsigned recvfrom(char *, unsigned, SockAddr *&);