C# Class Ros_CSharp.CustomSocket.Socket

Inheritance: System.Net.Sockets.Socket
Mostra file Open project: uml-robotics/ROS.NET

Public Properties

Property Type Description
Info SocketInfo

Private Properties

Property Type Description
ToString string
_poll void
_poll void

Public Methods

Method Description
AcceptAsync ( System.Net.Sockets a ) : bool
BeginConnect ( System.Net endpoint, AsyncCallback ac, object st ) : IAsyncResult
BeginConnect ( System.Net address, int port, AsyncCallback ac, object st ) : IAsyncResult
BeginConnect ( string host, int port, AsyncCallback ac, object st ) : IAsyncResult
Bind ( System.Net ep ) : void
Close ( ) : void
Close ( int timeout ) : void
Connect ( System.Net ep ) : void
Connect ( System.Net address, int port ) : void
ConnectAsync ( System.Net.Sockets e ) : bool
Dispose ( ) : void
EndConnect ( IAsyncResult iar ) : void
GetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, int optionlength ) : byte[]
GetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n ) : object
GetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, byte optionvalue ) : void
IOControl ( System.Net.Sockets code, byte inval, byte outval ) : int
IOControl ( int code, byte inval, byte outval ) : int
Listen ( int backlog ) : void
Receive ( byte arr, int offset, int size, System.Net.Sockets f ) : int
Receive ( byte arr, int offset, int size, System.Net.Sockets f, System.Net.Sockets &er ) : int
SafePoll ( int timeout, System.Net.Sockets sm ) : bool
Send ( byte arr, int offset, int size, System.Net.Sockets f, System.Net.Sockets &er ) : int
SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, bool optionvalue ) : void
SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, byte optionvalue ) : void
SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, int optionvalue ) : void
SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, object optionvalue ) : void
Shutdown ( System.Net.Sockets sd ) : void
Socket ( System.Net.Sockets sock ) : System
Socket ( System.Net.Sockets addressFamily, System.Net.Sockets socketType, System.Net.Sockets protocolType ) : System

Private Methods

Method Description
ToString ( ) : string
_poll ( ) : void
_poll ( int POLLFLAGS ) : void

Method Details

AcceptAsync() public method

public AcceptAsync ( System.Net.Sockets a ) : bool
a System.Net.Sockets
return bool

BeginConnect() public method

public BeginConnect ( System.Net endpoint, AsyncCallback ac, object st ) : IAsyncResult
endpoint System.Net
ac AsyncCallback
st object
return IAsyncResult

BeginConnect() public method

public BeginConnect ( System.Net address, int port, AsyncCallback ac, object st ) : IAsyncResult
address System.Net
port int
ac AsyncCallback
st object
return IAsyncResult

BeginConnect() public method

public BeginConnect ( string host, int port, AsyncCallback ac, object st ) : IAsyncResult
host string
port int
ac AsyncCallback
st object
return IAsyncResult

Bind() public method

public Bind ( System.Net ep ) : void
ep System.Net
return void

Close() public method

public Close ( ) : void
return void

Close() public method

public Close ( int timeout ) : void
timeout int
return void

Connect() public method

public Connect ( System.Net ep ) : void
ep System.Net
return void

Connect() public method

public Connect ( System.Net address, int port ) : void
address System.Net
port int
return void

ConnectAsync() public method

public ConnectAsync ( System.Net.Sockets e ) : bool
e System.Net.Sockets
return bool

Dispose() public method

public Dispose ( ) : void
return void

EndConnect() public method

public EndConnect ( IAsyncResult iar ) : void
iar IAsyncResult
return void

GetSocketOption() public method

public GetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, int optionlength ) : byte[]
lvl System.Net.Sockets
n System.Net.Sockets
optionlength int
return byte[]

GetSocketOption() public method

public GetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n ) : object
lvl System.Net.Sockets
n System.Net.Sockets
return object

GetSocketOption() public method

public GetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, byte optionvalue ) : void
lvl System.Net.Sockets
n System.Net.Sockets
optionvalue byte
return void

IOControl() public method

public IOControl ( System.Net.Sockets code, byte inval, byte outval ) : int
code System.Net.Sockets
inval byte
outval byte
return int

IOControl() public method

public IOControl ( int code, byte inval, byte outval ) : int
code int
inval byte
outval byte
return int

Listen() public method

public Listen ( int backlog ) : void
backlog int
return void

Receive() public method

public Receive ( byte arr, int offset, int size, System.Net.Sockets f ) : int
arr byte
offset int
size int
f System.Net.Sockets
return int

Receive() public method

public Receive ( byte arr, int offset, int size, System.Net.Sockets f, System.Net.Sockets &er ) : int
arr byte
offset int
size int
f System.Net.Sockets
er System.Net.Sockets
return int

SafePoll() public method

public SafePoll ( int timeout, System.Net.Sockets sm ) : bool
timeout int
sm System.Net.Sockets
return bool

Send() public method

public Send ( byte arr, int offset, int size, System.Net.Sockets f, System.Net.Sockets &er ) : int
arr byte
offset int
size int
f System.Net.Sockets
er System.Net.Sockets
return int

SetSocketOption() public method

public SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, bool optionvalue ) : void
lvl System.Net.Sockets
n System.Net.Sockets
optionvalue bool
return void

SetSocketOption() public method

public SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, byte optionvalue ) : void
lvl System.Net.Sockets
n System.Net.Sockets
optionvalue byte
return void

SetSocketOption() public method

public SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, int optionvalue ) : void
lvl System.Net.Sockets
n System.Net.Sockets
optionvalue int
return void

SetSocketOption() public method

public SetSocketOption ( System.Net.Sockets lvl, System.Net.Sockets n, object optionvalue ) : void
lvl System.Net.Sockets
n System.Net.Sockets
optionvalue object
return void

Shutdown() public method

public Shutdown ( System.Net.Sockets sd ) : void
sd System.Net.Sockets
return void

Socket() public method

public Socket ( System.Net.Sockets sock ) : System
sock System.Net.Sockets
return System

Socket() public method

public Socket ( System.Net.Sockets addressFamily, System.Net.Sockets socketType, System.Net.Sockets protocolType ) : System
addressFamily System.Net.Sockets
socketType System.Net.Sockets
protocolType System.Net.Sockets
return System

Property Details

Info public_oe property

public SocketInfo Info
return SocketInfo