diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-03-03 03:12:24 +0300 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-03-03 03:12:24 +0300 |
commit | c6b2a68290e1c3ce7eba964fc02001aa30d32a5b (patch) | |
tree | ee604bd262ca0f0c1fab9f125f3a7b74c99cc39b /mcs/class/System/System.Net.Sockets | |
parent | cc1640ad2ad8d218244afa895f5120dd8d65c159 (diff) |
2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs:
(SendTo): fix from Jerome Laban <jlaban@wanadoo.fr>.
svn path=/trunk/mcs/; revision=12111
Diffstat (limited to 'mcs/class/System/System.Net.Sockets')
-rw-r--r-- | mcs/class/System/System.Net.Sockets/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System/System.Net.Sockets/Socket.cs | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/System/System.Net.Sockets/ChangeLog b/mcs/class/System/System.Net.Sockets/ChangeLog index b9b6fe40acf..1c81fa6809c 100644 --- a/mcs/class/System/System.Net.Sockets/ChangeLog +++ b/mcs/class/System/System.Net.Sockets/ChangeLog @@ -1,3 +1,8 @@ +2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * Socket.cs: + (SendTo): fix from Jerome Laban <jlaban@wanadoo.fr>. + 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com> * Socket.cs: patch from Elan Feingold <efeingold@mn.rr.com>. Fixes diff --git a/mcs/class/System/System.Net.Sockets/Socket.cs b/mcs/class/System/System.Net.Sockets/Socket.cs index c7a6bb22591..babcb3f98c2 100644 --- a/mcs/class/System/System.Net.Sockets/Socket.cs +++ b/mcs/class/System/System.Net.Sockets/Socket.cs @@ -896,8 +896,7 @@ namespace System.Net.Sockets public int SendTo(byte[] buffer, int size, SocketFlags flags, EndPoint remote_end) { - return(SendTo(buffer, size, buffer.Length, flags, - remote_end)); + return(SendTo(buffer, 0, size, flags, remote_end)); } |