MBS Plugin Documentation

Search:

Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchie

New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0

The list of the   themes,   classes,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

class Socket
class, Network, Socket, Plugin version: 8.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The Socket class in Realbasic which is the superclass of the PacketSocketMBS class.
ClearOptionsMBS(extends s as SocketCore)
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Clears all options.
Notes: Works only on BSD Sockets and if the socket handle value is valid.
OptionMutliCastTTLMBS(extends s as SocketCore) as integer
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Gets the multicast time to live value.
Notes: Works only on BSD Sockets and if the socket handle value is valid.
OptionMutliCastTTLMBS(extends s as SocketCore, assigns value as integer)
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Sets the multicast time to live value.
Example:
dim t as new TCPSocket

// create a socket
t.Port=80
t.Address="www.apple.com"
t.Connect

// wait a second to connect
app.DoEvents 1000

// shows handle
MsgBox str(t.Handle)

// shows current value
MsgBox str(t.OptionMutliCastTTLMBS)
t.OptionMutliCastTTLMBS=10

// shows new value
MsgBox str(t.OptionMutliCastTTLMBS)

Notes: Works only on BSD Sockets and if the socket handle value is valid.
OptionTOSMBS(extends s as SocketCore) as integer
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Gets the type of service value.
Notes: Works only on BSD Sockets and if the socket handle value is valid.
OptionTOSMBS(extends s as SocketCore, assigns value as integer)
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Sets the type of service value.
Notes: Works only on BSD Sockets and if the socket handle value is valid.
OptionTTLMBS(extends s as SocketCore) as integer
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Gets the time to live value.
Notes: Works only on BSD Sockets and if the socket handle value is valid.
OptionTTLMBS(extends s as SocketCore, assigns value as integer)
global method, Network, MBS Network Plugin (Socket), Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Sets the time to live value.
Example:
dim t as new TCPSocket

// create a socket
t.Port=80
t.Address="www.apple.com"
t.Connect

// wait a second to connect
app.DoEvents 1000

// shows handle
MsgBox str(t.Handle)

// shows current value
MsgBox str(t.OptionTTLMBS)
t.OptionTTLMBS=10

// shows new value
MsgBox str(t.OptionTTLMBS)

Notes: Works only on BSD Sockets and if the socket handle value is valid.

The items on this page are in the following plugins: MBS Network Plugin.