Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Socket Class
Socket Methods

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Socket Methods

The Socket type exposes the following members.

  NameDescription
Public methodSupported by the .NET Compact FrameworkAcceptCreates a new Socket for a newly created connection.
Public methodAcceptAsyncBegins an asynchronous operation to accept an incoming connection attempt.
Public methodSupported by the .NET Compact FrameworkBeginAcceptOverloaded. Begins an asynchronous operation to accept an incoming connection attempt.
Public methodSupported by the .NET Compact FrameworkBeginConnectOverloaded. Begins an asynchronous request for a remote host connection.
Public methodBeginDisconnectBegins an asynchronous request to disconnect from a remote endpoint.
Public methodSupported by the .NET Compact FrameworkBeginReceiveOverloaded. Begins to asynchronously receive data from a connected Socket.
Public methodSupported by the .NET Compact FrameworkBeginReceiveFromBegins to asynchronously receive data from a specified network device.
Public methodBeginReceiveMessageFromBegins to asynchronously receive the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint and packet information..
Public methodSupported by the .NET Compact FrameworkBeginSendOverloaded. Sends data asynchronously to a connected Socket.
Public methodBeginSendFileOverloaded. Sends a file asynchronously to a connected Socket object.
Public methodSupported by the .NET Compact FrameworkBeginSendToSends data asynchronously to a specific remote host.
Public methodSupported by the .NET Compact FrameworkBindAssociates a Socket with a local endpoint.
Public methodSupported by the .NET Compact FrameworkCloseOverloaded. Closes the Socket connection and releases all associated resources.
Public methodSupported by the .NET Compact FrameworkConnectOverloaded. Establishes a connection to a remote host.
Public methodConnectAsyncBegins an asynchronous request for a remote host connection.
Public methodDisconnectCloses the socket connection and allows reuse of the socket.
Public methodDisconnectAsyncBegins an asynchronous request to disconnect from a remote endpoint.
Protected methodSupported by the .NET Compact FrameworkDisposeReleases the unmanaged resources used by the Socket, and optionally disposes of the managed resources.
Public methodDuplicateAndCloseDuplicates the socket reference for the target process, and closes the socket for this process.
Public methodSupported by the .NET Compact FrameworkEndAcceptOverloaded. Asynchronously accepts an incoming connection attempt.
Public methodSupported by the .NET Compact FrameworkEndConnectEnds a pending asynchronous connection request.
Public methodEndDisconnectEnds a pending asynchronous disconnect request.
Public methodSupported by the .NET Compact FrameworkEndReceiveOverloaded. Ends a pending asynchronous read.
Public methodSupported by the .NET Compact FrameworkEndReceiveFromEnds a pending asynchronous read from a specific endpoint.
Public methodEndReceiveMessageFromEnds a pending asynchronous read from a specific endpoint. This method also reveals more information about the packet than EndReceiveFrom.
Public methodSupported by the .NET Compact FrameworkEndSendOverloaded. Ends a pending asynchronous send.
Public methodEndSendFileEnds a pending asynchronous send of a file.
Public methodSupported by the .NET Compact FrameworkEndSendToEnds a pending asynchronous send to a specific location.
Public methodSupported by the .NET Compact FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalizeFrees resources used by the Socket class. (Overrides Object..::.Finalize()()().)
Public methodSupported by the .NET Compact FrameworkGetHashCodeOverloaded.
Public methodSupported by the .NET Compact FrameworkGetSocketOptionOverloaded. Returns the value of a Socket option.
Public methodSupported by the .NET Compact FrameworkGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkIOControlOverloaded. Sets low-level operating modes for the Socket.
Public methodSupported by the .NET Compact FrameworkListenPlaces a Socket in a listening state.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkPollDetermines the status of the Socket.
Public methodSupported by the .NET Compact FrameworkReceiveOverloaded. Receives data from a bound Socket.
Public methodReceiveAsyncBegins an asynchronous request to receive data from a connected Socket object.
Public methodSupported by the .NET Compact FrameworkReceiveFromOverloaded. Receives a datagram and stores the source endpoint.
Public methodReceiveFromAsyncBegins to asynchronously receive data from a specified network device.
Public methodReceiveMessageFromReceives the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint and packet information.
Public methodReceiveMessageFromAsyncBegins to asynchronously receive the specified number of bytes of data into the specified location in the data buffer, using the specified SocketAsyncEventArgs..::.SocketFlags, and stores the endpoint and packet information.
Public methodStatic memberSupported by the .NET Compact FrameworkSelectDetermines the status of one or more sockets.
Public methodSupported by the .NET Compact FrameworkSendOverloaded. Sends data to a connected Socket.
Public methodSendAsyncSends data asynchronously to a connected Socket object.
Public methodSendFileOverloaded. Sends a file and optional data synchronously to a connected Socket.
Public methodSendPacketsAsyncSends a collection of files or in memory data buffers asynchronously to a connected Socket object.
Public methodSupported by the .NET Compact FrameworkSendToOverloaded. Sends data to a specific endpoint.
Public methodSendToAsyncSends data asynchronously to a specific remote host.
Public methodSupported by the .NET Compact FrameworkSetSocketOptionOverloaded. Sets a Socket option.
Public methodSupported by the .NET Compact FrameworkShutdownDisables sends and receives on a Socket.
Public methodSupported by the .NET Compact FrameworkToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkIDisposable..::.DisposeInfrastructure. Releases all resources used by the Socket.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker