Commit Graph
20 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 40ffe194c8 2008-12-03 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: don't Poll() in Receive(), the call to ReceiveFrom
	will block anyway. Fixes bug #455894.


svn path=/trunk/mcs/; revision=120601
2008-12-03 15:33:16 +00:00
Dick Porter e3c85ecc7b 2007-10-30 Dick Porter <[email protected]>
* UdpClient.cs: Don't set the multicast option twice.  Fixes bug
	324033.

2007-10-30  Dick Porter  <[email protected]>

	* UdpClientTest.cs: Test for 324033.



svn path=/trunk/mcs/; revision=88456
2007-10-30 13:55:11 +00:00
Igor Zelmanovich 6f3ec291af 2007-05-09 Igor Zelmanovich <[email protected]>
* Win32Exception.cs:
	added MonoNotSupported attribute for TARGATE_JVM.	
		
	* NetworkStream.cs:
	* TcpClient.cs:
	* TcpListener.cs:
	* UdpClient.cs:			
	added MonoNotSupported attribute for TARGATE_JVM.	

svn path=/trunk/mcs/; revision=76996
2007-05-09 11:15:35 +00:00
Igor Zelmanovich b9bb9f9fc5 refactoring:
fixing line endings, no changes.

svn path=/trunk/mcs/; revision=76994
2007-05-09 09:51:07 +00:00
Dick Porter dfef4f8112 2007-01-26 Dick Porter <[email protected]>
* Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile.  Stub
	out BeginReceiveMessageFrom(), BeginSendFile(),
	EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
	SendFile().

	* IPPacketInformation.cs: New in the 2.0 profile

	* SocketFlags.cs: Remove useless (and empty) inline documentation,
	and add 2.0 items.

	* TcpListener.cs: Mark Server as public in the 2.0 profile.

	* UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
	profile.

	System.Net.Sockets should now be 2.0-complete.



svn path=/trunk/mcs/; revision=71759
2007-01-26 17:57:31 +00:00
Dick Porter 556648b407 2007-01-11 Dick Porter <[email protected]>
* System.dll.sources: Add System.Net.Sockets/{IOControlCode,SocketInformation,SocketInformationOptions,TransmitFileOptions}.cs

2007-01-11  Dick Porter  <[email protected]>

	* Win32Exception.cs: Add error 50 (ERROR_NOT_SUPPORTED)

2007-01-11  Dick Porter  <[email protected]>

	* IOControlCode.cs: 
	* SocketInformation.cs: 
	* Socket.cs: 
	* UdpClient.cs: 2.0 profile updates, loosely based on a patch by
	Sridhar Kulkarni.

	* SocketInformationOptions.cs: 
	* TransmitFileOptions.cs: Implemented by Sridhar Kulkarni
	([email protected])



svn path=/trunk/mcs/; revision=70853
2007-01-11 13:30:28 +00:00
Dick Porter 613a58660d 2006-03-03 Dick Porter <[email protected]>
* UdpClient.cs: Fix IPv6 family check.  Fixes bug 77689.


svn path=/trunk/mcs/; revision=57548
2006-03-03 17:17:30 +00:00
Dick Porter 10f8900a5c 2005-02-23 Dick Porter <[email protected]>
* UdpClient.cs: Set the Broadcast option, as apparently the MS
        runtime defaults make UDP sockets broadcastable.



svn path=/trunk/mcs/; revision=41097
2005-02-23 15:59:55 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Dick Porter 0937ade06a 2004-05-13 Dick Porter <[email protected]>
* UdpClient.cs:
	* TcpClient.cs: Public API fixes

svn path=/trunk/mcs/; revision=27286
2004-05-13 16:22:40 +00:00
Gonzalo Paniagua Javier 53beb817a2 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: added support for unmanaged asynchronous IO. Speed up
	error checking.
	* UdpClient.cs: fixed Dispose so that it only closes the socket when
	called explicitly.

svn path=/trunk/mcs/; revision=26110
2004-04-28 03:45:16 +00:00
Gonzalo Paniagua Javier 9d82d59bfd 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: added VCodeCompiler.cs by Jochen Wezel
	<[email protected]>.

	* Microsoft.VisualBasic/VBCodeCompiler.cs: New.
	* Microsoft.VisualBasic/VBCodeGenerator.cs:
	* Microsoft.VisualBasic/VBCodeProvider.cs: modified others to use the
	new CodeCompiler.

	* System.Net.Sockets/UdpClient.cs: removed Consoles.

svn path=/trunk/mcs/; revision=19033
2003-10-14 10:56:57 +00:00
Miguel de Icaza 56a8c0cb34 2003-08-10 Miguel de Icaza <[email protected]>
* UdpClient.cs (Receive): Fix Bug 45633;  We should do a blocking
	call until a datagram is arrives from the remote host.  This
	removes the 512 "magic" buffer size when we did not have any data.

svn path=/trunk/mcs/; revision=17237
2003-08-10 23:19:48 +00:00
Jerome Laban 3d171d4a85 2003-07-14 Jerome Laban <[email protected]>
* Socket.cs:
        * ProtocolType.cs:
        * SocketOptionLevel.cs:
        * TcpListener.cs:
        * TcpClient.cs:
        * UdpClient.cs:

        Added IPv6 support.

        * IPv6MulticastOption.cs: Added for IPv6 support.

svn path=/trunk/mcs/; revision=16217
2003-07-14 16:03:20 +00:00
Gonzalo Paniagua Javier a6b28539ae 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
	Added more checks and throws.
	Small fixes in Send to avoid duplicating the buffer.
	Moved CheckIfDisposed calls to the start of the methods instead of doing
	the check inside a finally clause.

svn path=/trunk/mcs/; revision=12798
2003-03-25 00:16:59 +00:00
Gonzalo Paniagua Javier 838b6c5e41 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: fixed bug #36226.

svn path=/trunk/mcs/; revision=10135
2003-01-04 16:51:17 +00:00
Miguel de Icaza 2bfd7fce53 2002-09-16 Miguel de Icaza <[email protected]>
* SocketFlags.cs: Add missing enumeration.

	* UdpClient.cs: Make Dispose private.

svn path=/trunk/mcs/; revision=7523
2002-09-16 19:31:26 +00:00
Lawrence Pit b43bd5c9a0 * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
* NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
	routines, added	checks for disposed state.

svn path=/trunk/mcs/; revision=4721
2002-05-17 15:53:05 +00:00
Lawrence Pit 3037f164e7 2002-05-17 Lawrence Pit <[email protected]>
* UdpClient.cs and TcpClient.cs: modified disposable routines, added
	checks for disposed state.
	* UdpClient.cs: commented out GetHashCode and Equals as it's not
	overriden in ms.net implementation.

2002-05-17  Jaroslaw Kowalski <[email protected]>
	* TcpClient.cs: fixed SetTcpClient so that
	TcpListener.AcceptTcpClient works and allows
	you to call GetStream() on its result

svn path=/trunk/mcs/; revision=4711
2002-05-17 03:54:41 +00:00
Gonzalo Paniagua Javier f8067570ba 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: implemented.

svn path=/trunk/mcs/; revision=3843
2002-04-15 23:57:45 +00:00