public Task<int> SendAsync (byte[] datagram, int bytes) { return Task<int>.Factory.FromAsync (BeginSend, EndSend, datagram, bytes, null); }